summaryrefslogtreecommitdiffstats
path: root/src/printsupport/kernel/qprinterinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/printsupport/kernel/qprinterinfo.h')
-rw-r--r--src/printsupport/kernel/qprinterinfo.h4
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;