summaryrefslogtreecommitdiff
path: root/src/pixeltool
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-07-09 10:50:00 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-07-29 12:46:41 +0200
commit6b2f32f3dc9de965801927a4bc5d970028a318a6 (patch)
treef62db38cfe9aa441b4bcb877ccc8f4bcbeb7974a /src/pixeltool
parentf7a50cab668c27ab8e17be96add02e515e9b1681 (diff)
downloadqttools-6b2f32f3dc9de965801927a4bc5d970028a318a6.tar.gz
Fix Qt6 build
Change-Id: Ie413ca2e2f81ac0e92628ffd2f3e93047a91bd0c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/pixeltool')
-rw-r--r--src/pixeltool/qpixeltool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pixeltool/qpixeltool.cpp b/src/pixeltool/qpixeltool.cpp
index 67e2afdf5..aebe13df1 100644
--- a/src/pixeltool/qpixeltool.cpp
+++ b/src/pixeltool/qpixeltool.cpp
@@ -682,8 +682,8 @@ QTextStream &operator<<(QTextStream &str, const QScreen *screen)
{
const QRect geometry = screen->geometry();
str << '"' << screen->name() << "\" " << geometry.width()
- << 'x' << geometry.height() << forcesign << geometry.x() << geometry.y()
- << noforcesign << ", " << qRound(screen->logicalDotsPerInch()) << "DPI"
+ << 'x' << geometry.height() << Qt::forcesign << geometry.x() << geometry.y()
+ << Qt::noforcesign << ", " << qRound(screen->logicalDotsPerInch()) << "DPI"
<< ", Depth: " << screen->depth() << ", " << screen->refreshRate() << "Hz";
const qreal dpr = screen->devicePixelRatio();
if (!qFuzzyCompare(dpr, qreal(1)))