summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2010-03-09 22:35:51 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2010-03-09 22:35:51 (GMT)
commita90117092e4bc5ecc1cb1640a16c70569a342759 (patch)
treec6ada8d2e33362e8623c1677212940f4ce2ed3ec
parentdac32b0d5ac4ed79584aba23134849956c787f75 (diff)
downloadQt-a90117092e4bc5ecc1cb1640a16c70569a342759.zip
Qt-a90117092e4bc5ecc1cb1640a16c70569a342759.tar.gz
Qt-a90117092e4bc5ecc1cb1640a16c70569a342759.tar.bz2
Compile without QT3_SUPPORT
QList<T>::remove() is QT3_SUPPORT, replace with erase(). Reviewed-by: Jervey Kong <jervey.kong@nokia.com>
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
index 7dce516..b76c6a7 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
@@ -216,12 +216,12 @@ static void initRasterFallbacksMasks(int *warningMask, int *disableMask)
int idx = warning.indexOf(name);
if (idx != -1) {
*warningMask |= operations[i].operation;
- warning.remove(warning.begin() + idx);
+ warning.erase(warning.begin() + idx);
}
idx = disable.indexOf(name);
if (idx != -1) {
*disableMask |= operations[i].operation;
- disable.remove(disable.begin() + idx);
+ disable.erase(disable.begin() + idx);
}
}
}