diff options
author | Marius Storm-Olsen <marius.storm-olsen@nokia.com> | 2009-11-09 12:38:17 +0100 |
---|---|---|
committer | Marius Storm-Olsen <marius.storm-olsen@nokia.com> | 2009-11-09 12:38:17 +0100 |
commit | e9a06e6f9765c9632103c86fe190e8154ce4a9f8 (patch) | |
tree | cc9fc9c931423674081b6ab843d22bc643a5df64 /src/gui/image/qxpmhandler.cpp | |
parent | 00aeefeeaff4d8c3e25c6f388c5e51c239541f87 (diff) | |
parent | a2a3adf7de2ffc9784fea177a43f3124862a992a (diff) | |
download | qt4-tools-e9a06e6f9765c9632103c86fe190e8154ce4a9f8.tar.gz |
Merge branch '4.6-api-review' into 4.6
Diffstat (limited to 'src/gui/image/qxpmhandler.cpp')
-rw-r--r-- | src/gui/image/qxpmhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/image/qxpmhandler.cpp b/src/gui/image/qxpmhandler.cpp index 4bdd16eeee..ac4711a66e 100644 --- a/src/gui/image/qxpmhandler.cpp +++ b/src/gui/image/qxpmhandler.cpp @@ -895,7 +895,7 @@ static bool read_xpm_body( if (image.isNull()) return false; } - image.setNumColors(ncols); + image.setColorCount(ncols); } QMap<quint64, int> colorMap; |