Go to file
Andreas Hartmetz bdc115d969 detach() safely in QVector::erase(), and update callers to not detach.
remove() can use non-detaching iterators internally before calling
erase(), which hasn't been exploited so far, so that the detach() in
erase() never actually detached. When using erase() from outside,
you can't do it legally without calling begin() or end() that detach()
before erase() is called.
Now remove() doesn't detach anymore, and detaching in erase() works.
With new tests that fail after changing only the erase() callers
and pass again after fixing erase().

Change-Id: I47c0a9e362dce8628ec566f5437d951755de96c8
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
2012-10-19 18:04:11 +02:00
bin Rename the syncqt -qtdir to -mkspecsdir 2012-10-19 00:44:54 +02:00
config.tests config.tests/glib: remove app_bundle config (mac compatibility) 2012-10-09 18:00:25 +02:00
dist Change the default major version of QGLFormat to 2. 2012-10-19 02:43:05 +02:00
doc HTML template: Updated copyright information from Nokia to Digia Plc 2012-09-27 02:29:35 +02:00
examples Modularize drag and drop documentation 2012-10-19 17:35:51 +02:00
lib Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
mkspecs Use a qmake variable to pass the Qt version to the cmake version file. 2012-10-19 13:02:17 +02:00
qmake qmake ExtraCompilerTargets: deal with file name which contains space 2012-10-19 13:02:17 +02:00
src detach() safely in QVector::erase(), and update callers to not detach. 2012-10-19 18:04:11 +02:00
tests detach() safely in QVector::erase(), and update callers to not detach. 2012-10-19 18:04:11 +02:00
tools Rename the syncqt -qtdir to -mkspecsdir 2012-10-19 00:44:54 +02:00
util Update the Unicode Data and Algorithms up to Unicode 6.2 2012-10-09 03:04:41 +02:00
.gitattributes Update the git-archive export options 2012-09-07 15:39:31 +02:00
.gitignore Remove the <module>version.h files from .gitignore. 2012-09-27 23:51:30 +02:00
.qmake.conf add a .qmake.conf file which load()s qt_build_config 2012-10-18 17:42:40 +02:00
.tag Update the git-archive export options 2012-09-07 15:39:31 +02:00
configure configure: state compiler explicitly when testing for supported flags 2012-10-19 13:02:17 +02:00
configure.bat Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
header.BSD Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
header.FDL Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
header.LGPL Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
header.LGPL-ONLY Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
INSTALL fix links in INSTALL 2012-10-10 08:45:22 +02:00
LGPL_EXCEPTION.txt Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
LICENSE.FDL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.GPL Add the LICENSE.GPL file to the module referenced from license headers 2012-05-20 22:41:08 +02:00
LICENSE.LGPL Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
LICENSE.PREVIEW.COMMERCIAL Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtbase.pro Modularize documenation build 2012-10-10 23:27:03 +02:00
sync.profile Revert "Move QWindowSystemInterface out of qpa." 2012-08-03 00:38:09 +02:00