diff options
author | Ulf Hermann <ulf.hermann@digia.com> | 2014-09-17 19:11:33 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@digia.com> | 2014-09-30 09:45:07 +0200 |
commit | 38c4ccbfe675541b1eee72982b04d8b51fc90c95 (patch) | |
tree | f3e2cd8abfc17ba3bb130db73e01ff774d0fa2be | |
parent | 7824a9ba3145ea7c2184ea67ae8969d178c53065 (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>
-rw-r--r-- | src/printsupport/kernel/qprintengine_win.cpp | 3 |
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; |