summaryrefslogtreecommitdiffstats
path: root/src/printsupport/kernel
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@digia.com>2014-09-17 19:11:33 +0200
committerUlf Hermann <ulf.hermann@digia.com>2014-09-30 09:45:07 +0200
commit38c4ccbfe675541b1eee72982b04d8b51fc90c95 (patch)
treef3e2cd8abfc17ba3bb130db73e01ff774d0fa2be /src/printsupport/kernel
parent7824a9ba3145ea7c2184ea67ae8969d178c53065 (diff)
Handle PPK_CustomBase in QWin32PrintEngine::property
If we leave out the default so that the compiler catches missing enum values we should actually handle them all ... Change-Id: Ieb4992dec84ce847e48ab3c4a94bd8825a148706 Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Diffstat (limited to 'src/printsupport/kernel')
-rw-r--r--src/printsupport/kernel/qprintengine_win.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/printsupport/kernel/qprintengine_win.cpp b/src/printsupport/kernel/qprintengine_win.cpp
index 2f8d8f0a38..14ffcaca96 100644
--- a/src/printsupport/kernel/qprintengine_win.cpp
+++ b/src/printsupport/kernel/qprintengine_win.cpp
@@ -1414,6 +1414,9 @@ QVariant QWin32PrintEngine::property(PrintEnginePropertyKey key) const
value.setValue(d->m_pageLayout);
break;
+ case PPK_CustomBase:
+ break;
+
// No default so that compiler will complain if new keys added and not handled in this engine
}
return value;