summaryrefslogtreecommitdiffstats
path: root/src/plugins/printsupport/cups/qppdprintdevice.h
diff options
context:
space:
mode:
authorAlbert Astals Cid <albert.astals.cid@kdab.com>2018-03-27 17:17:20 +0200
committerAlbert Astals Cid <albert.astals.cid@kdab.com>2018-04-04 07:14:49 +0000
commit3ea2955a45fa3d0026248f9ff4fef0ace31cfb38 (patch)
tree7fab19fcaf59300ccea7e3bfdcb637f9ec0cba2d /src/plugins/printsupport/cups/qppdprintdevice.h
parent98f7eba6cffc7676b791ef1e58a837b38d99ffd3 (diff)
QPpdPrintDevice: Move loadPrinter code to the constructor
It was only called from it and makes the code simpler by not having to have the code to free the ppd, etc Change-Id: I4351f9906757b666255b7c31b4c1d8aecf6e873b Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'src/plugins/printsupport/cups/qppdprintdevice.h')
-rw-r--r--src/plugins/printsupport/cups/qppdprintdevice.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/printsupport/cups/qppdprintdevice.h b/src/plugins/printsupport/cups/qppdprintdevice.h
index 0ec62e3198..90f90d6788 100644
--- a/src/plugins/printsupport/cups/qppdprintdevice.h
+++ b/src/plugins/printsupport/cups/qppdprintdevice.h
@@ -104,7 +104,6 @@ protected:
#endif
private:
- void loadPrinter();
QString printerOption(const QString &key) const;
cups_ptype_e printerTypeFlags() const;