diff options
author | John Layt <jlayt@kde.org> | 2014-01-23 16:37:54 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-05 19:34:14 +0100 |
commit | 10f3c2bca60362b1268b64ea743cb66ae05bfe14 (patch) | |
tree | e5b4ef460d2ab828985bf37eabb3065296db8e2d /src/printsupport/kernel/qprinter.cpp | |
parent | 75aef26c278dc21bb3fc5bc7faa06e95666aeb76 (diff) |
QPrinter - Fix PaperSources
An earlier commit add new PaperSources for First and Last, but after
looking at wingdi.h it turns out these are just the first and last
DMBIN values, and Upper is equal to OnlyOne. Remove First and Last, but
keep the Upper and CustomSource for use later by PPD based printer
systems.
Change-Id: I298472a1f54efcc584e73dec944b96fc91426c1b
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/printsupport/kernel/qprinter.cpp')
-rw-r--r-- | src/printsupport/kernel/qprinter.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/printsupport/kernel/qprinter.cpp b/src/printsupport/kernel/qprinter.cpp index 366e3bc844..86985fa7ca 100644 --- a/src/printsupport/kernel/qprinter.cpp +++ b/src/printsupport/kernel/qprinter.cpp @@ -521,8 +521,6 @@ void QPrinterPrivate::setProperty(QPrintEngine::PrintEnginePropertyKey key, cons \value OnlyOne \value Tractor \value SmallFormat - \value First - \value Last \value Upper \value CustomSource A PaperSource defined by the printer that is unknown to Qt \value LastPaperSource The highest valid PaperSource value, currently CustomSource |