diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2012-03-06 22:44:55 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-08 08:36:47 +0100 |
commit | c614bf25fef7e5a0e0fc7d74980f48a471b4406f (patch) | |
tree | fac6fa030a354f9538cc4fef124c0bb68b05ecca /src/printsupport/kernel | |
parent | 12f221410fbe41d0b2efda4cd3289dfcf9044aa8 (diff) |
QtPrintSupport: make some constructors explicit
This is a semi-automatic search, so I'm
reasonably sure that all the exported ones
have been caught.
Change-Id: Ic65f21e06fb2c5d851390cd025c2a48db51f5930
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/printsupport/kernel')
-rw-r--r-- | src/printsupport/kernel/qprinterinfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/printsupport/kernel/qprinterinfo.h b/src/printsupport/kernel/qprinterinfo.h index 64903bee85..d26b70dee0 100644 --- a/src/printsupport/kernel/qprinterinfo.h +++ b/src/printsupport/kernel/qprinterinfo.h @@ -59,7 +59,7 @@ class Q_PRINTSUPPORT_EXPORT QPrinterInfo public: QPrinterInfo(); QPrinterInfo(const QPrinterInfo &other); - QPrinterInfo(const QPrinter &printer); + explicit QPrinterInfo(const QPrinter &printer); ~QPrinterInfo(); QPrinterInfo &operator=(const QPrinterInfo &other); @@ -73,7 +73,7 @@ public: static QPrinterInfo defaultPrinter(); private: - QPrinterInfo(const QString &name); + explicit QPrinterInfo(const QString &name); private: friend class QPlatformPrinterSupport; |