diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2014-03-24 01:00:33 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-31 22:54:14 +0200 |
commit | c36746a829473f063b346e64cc08bfb3d7562e26 (patch) | |
tree | 3fc32d4d841a5b7195b177cdfcd2da0b3508b231 /src/xml | |
parent | 3270b4490bc420359483cb00ae48e91e261b30e8 (diff) |
QCUPSSupport: Extract Method jobHoldToString() from setJobHold()
The new function just calculates the job-hold-until cups option argument,
reducing the number of setCupsOption() calls down to one.
Effects on a stripped Linux AMD64 GCC 4.7 c++11 release build:
text: -552B
data: +-0B
relocs: +-0
Change-Id: I4aa4118c3493cd302dd8fd7f4985c7e0f70ef071
Reviewed-by: Martin Klapetek <mklapetek@kde.org>
Reviewed-by: John Layt <jlayt@kde.org>
Diffstat (limited to 'src/xml')
0 files changed, 0 insertions, 0 deletions