diff options
author | Albert Astals Cid <albert.astals.cid@kdab.com> | 2018-03-27 17:17:20 +0200 |
---|---|---|
committer | Albert Astals Cid <albert.astals.cid@kdab.com> | 2018-04-04 07:14:49 +0000 |
commit | 3ea2955a45fa3d0026248f9ff4fef0ace31cfb38 (patch) | |
tree | 7fab19fcaf59300ccea7e3bfdcb637f9ec0cba2d /src/plugins/printsupport/cups/qppdprintdevice.h | |
parent | 98f7eba6cffc7676b791ef1e58a837b38d99ffd3 (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.h | 1 |
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; |