diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2010-03-09 22:35:51 (GMT) |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2010-03-09 22:35:51 (GMT) |
commit | a90117092e4bc5ecc1cb1640a16c70569a342759 (patch) | |
tree | c6ada8d2e33362e8623c1677212940f4ce2ed3ec /src | |
parent | dac32b0d5ac4ed79584aba23134849956c787f75 (diff) | |
download | Qt-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>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp | 4 |
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); } } } |