OSDN Git Service

QPrinterPrivate cleanup
authorIvailo Monev <xakepa10@laimg.moc>
Sat, 13 Jul 2019 21:26:26 +0000 (21:26 +0000)
committerIvailo Monev <xakepa10@laimg.moc>
Sat, 13 Jul 2019 21:26:26 +0000 (21:26 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/gui/painting/qprinter_p.h

index 645f9d7..7eda311 100644 (file)
@@ -114,12 +114,12 @@ public:
     QAbstractPrintDialog::PrintRange printRange;
     int minPage, maxPage, fromPage, toPage;
 
-    uint use_default_engine : 1;
-    uint had_default_engines : 1;
+    bool use_default_engine;
+    bool had_default_engines;
 
-    uint validPrinter : 1;
-    uint hasCustomPageMargins : 1;
-    uint hasUserSetPageSize : 1;
+    bool validPrinter;
+    bool hasCustomPageMargins;
+    bool hasUserSetPageSize;
 
     // Used to remember which properties have been manually set by the user.
     QList<QPrintEngine::PrintEnginePropertyKey> manualSetList;