summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qprinterinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/painting/qprinterinfo.cpp')
-rw-r--r--src/gui/painting/qprinterinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qprinterinfo.cpp b/src/gui/painting/qprinterinfo.cpp
index 21d56f3..72f8be3 100644
--- a/src/gui/painting/qprinterinfo.cpp
+++ b/src/gui/painting/qprinterinfo.cpp
@@ -146,7 +146,7 @@ QString QPrinterInfo::printerName() const
bool QPrinterInfo::isNull() const
{
const Q_D(QPrinterInfo);
- return d->isNull;
+ return d == &QPrinterInfoPrivate::shared_null;
}
/*!