D18163: Set the color scheme to Printing when print preview'ing
Milian Wolff
noreply at phabricator.kde.org
Wed Jan 30 20:23:25 GMT 2019
mwolff requested changes to this revision.
mwolff added inline comments.
This revision now requires changes to proceed.
INLINE COMMENTS
> kateprinter.cpp:164
> QPrinter printer;
> - KatePrinterPrivate p(view->doc(), view);
> + KatePrinterPrivate p(view->doc(), view, true);
> QPrintPreviewDialog preview(&printer);
better add a setter before and then call
`p.setColorScheme(QStringLiteral("Printing"));`
here
> kateprinter.cpp:180
> QPrinter printer;
> - KatePrinterPrivate p(doc);
> + KatePrinterPrivate p(doc, nullptr, true);
> QPrintPreviewDialog preview(&printer);
dito
REPOSITORY
R39 KTextEditor
REVISION DETAIL
https://phabricator.kde.org/D18163
To: ahmadsamir, cullmann, #ktexteditor, dhaumann, mwolff
Cc: kwrite-devel, kde-frameworks-devel, hase, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190130/9fee91a6/attachment.html>
More information about the KWrite-Devel
mailing list