summaryrefslogtreecommitdiffstats
path: root/src/printsupport/kernel/qprinterinfo_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/printsupport/kernel/qprinterinfo_p.h')
-rw-r--r--src/printsupport/kernel/qprinterinfo_p.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/printsupport/kernel/qprinterinfo_p.h b/src/printsupport/kernel/qprinterinfo_p.h
index a3c654e7b7..6c94e4e227 100644
--- a/src/printsupport/kernel/qprinterinfo_p.h
+++ b/src/printsupport/kernel/qprinterinfo_p.h
@@ -66,11 +66,9 @@ class QPrinterInfoPrivate
public:
QPrinterInfoPrivate(const QString& name = QString()) :
name(name), isDefault(false)
-#if (defined(Q_OS_UNIX) && !defined(Q_OS_MAC) && !defined(Q_OS_SYMBIAN)) || defined(Q_WS_QPA)
#if !defined(QT_NO_CUPS) && !defined(QT_NO_LIBRARY)
, cupsPrinterIndex(0)
#endif
-#endif
, hasPaperSizes(false)
{}
~QPrinterInfoPrivate()
@@ -81,11 +79,9 @@ public:
QString name;
bool isDefault;
-#if (defined(Q_OS_UNIX) && !defined(Q_OS_MAC) && !defined(Q_OS_SYMBIAN)) || defined(Q_WS_QPA)
#if !defined(QT_NO_CUPS) && !defined(QT_NO_LIBRARY)
int cupsPrinterIndex;
#endif
-#endif
mutable bool hasPaperSizes;
mutable QList<QPrinter::PaperSize> paperSizes;
};