summaryrefslogtreecommitdiffstats
path: root/src/gui/painting
diff options
context:
space:
mode:
authorJoona Petrell <joona.t.petrell@nokia.com>2010-11-30 06:52:46 (GMT)
committerJoona Petrell <joona.t.petrell@nokia.com>2010-11-30 06:52:46 (GMT)
commita93a09e3a59563421a3deb76a5b0509c4b1d1cea (patch)
tree7191d6d24504cfc85a023aa8de4ed14ff9c4a4d1 /src/gui/painting
parent3aabc92c72bdd9f7e7bc67dd22dae203033e958a (diff)
parente42d95d4e9d0dc547c604939f88de95180e74fa0 (diff)
downloadQt-a93a09e3a59563421a3deb76a5b0509c4b1d1cea.zip
Qt-a93a09e3a59563421a3deb76a5b0509c4b1d1cea.tar.gz
Qt-a93a09e3a59563421a3deb76a5b0509c4b1d1cea.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt into 4.7
Conflicts: src/declarative/qml/qdeclarativeengine.cpp src/declarative/qml/qdeclarativepropertycache.cpp
Diffstat (limited to 'src/gui/painting')
-rw-r--r--src/gui/painting/qpdf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/painting/qpdf.cpp b/src/gui/painting/qpdf.cpp
index ba5d164..bd68d2a 100644
--- a/src/gui/painting/qpdf.cpp
+++ b/src/gui/painting/qpdf.cpp
@@ -1390,7 +1390,7 @@ int QPdfBaseEngine::metric(QPaintDevice::PaintDeviceMetric metricType) const
void QPdfBaseEngine::setProperty(PrintEnginePropertyKey key, const QVariant &value)
{
Q_D(QPdfBaseEngine);
- switch (key) {
+ switch (int(key)) {
case PPK_CollateCopies:
d->collate = value.toBool();
break;
@@ -1480,7 +1480,7 @@ QVariant QPdfBaseEngine::property(PrintEnginePropertyKey key) const
Q_D(const QPdfBaseEngine);
QVariant ret;
- switch (key) {
+ switch (int(key)) {
case PPK_CollateCopies:
ret = d->collate;
break;