summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2012-05-21 15:37:47 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-21 16:02:06 +0200
commit41b18267a132bce565c8943adbe6c43b5c22a9fd (patch)
tree1707f7a0ab1d0f8a37bda812ad6f0a30d99c6a82 /src
parent0b97f5553097f296e1de3ac88921dbba140ae0d5 (diff)
Windows/MinGW: Fix warnings about missing enumeration values.
Change-Id: I8fa6456e517d670a4d463fdc589cb32e4f79843c Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/platforms/windows/qwindowsintegration.cpp1
-rw-r--r--src/printsupport/dialogs/qpagesetupdialog_win.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/windows/qwindowsintegration.cpp b/src/plugins/platforms/windows/qwindowsintegration.cpp
index 26c7d548bc..e0a11380d1 100644
--- a/src/plugins/platforms/windows/qwindowsintegration.cpp
+++ b/src/plugins/platforms/windows/qwindowsintegration.cpp
@@ -364,6 +364,7 @@ QVariant QWindowsIntegration::styleHint(QPlatformIntegration::StyleHint hint) co
case QPlatformIntegration::StartDragDistance:
case QPlatformIntegration::KeyboardInputInterval:
case QPlatformIntegration::ShowIsFullScreen:
+ case QPlatformIntegration::PasswordMaskDelay:
break; // Not implemented
case QPlatformIntegration::FontSmoothingGamma:
return QVariant(QWindowsFontDatabase::fontSmoothingGamma());
diff --git a/src/printsupport/dialogs/qpagesetupdialog_win.cpp b/src/printsupport/dialogs/qpagesetupdialog_win.cpp
index cb69d0400f..a10dc1ccd4 100644
--- a/src/printsupport/dialogs/qpagesetupdialog_win.cpp
+++ b/src/printsupport/dialogs/qpagesetupdialog_win.cpp
@@ -115,6 +115,7 @@ int QPageSetupDialog::exec()
multiplier = 1;
break;
case QLocale::ImperialSystem:
+ case QLocale::ImperialUKSystem:
psd.Flags |= PSD_INTHOUSANDTHSOFINCHES;
multiplier = 25.4/10;
break;