summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/text/qstatictext
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2019-05-02 09:24:11 +0200
committerLars Knoll <lars.knoll@qt.io>2019-05-03 09:36:36 +0000
commite3b55616e2334570fed3855e1855216bd9f85769 (patch)
tree305893db6f377f58233872807875f13befc8cbe5 /tests/auto/gui/text/qstatictext
parentf27f89f3357326f8cc3b6bbc560160e909af7ead (diff)
Prefix QTextStream operators with Qt:: in tests
Change-Id: I852f016fcb619a9e634deee6efb1fe7930d974c8 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests/auto/gui/text/qstatictext')
-rw-r--r--tests/auto/gui/text/qstatictext/tst_qstatictext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/gui/text/qstatictext/tst_qstatictext.cpp b/tests/auto/gui/text/qstatictext/tst_qstatictext.cpp
index d00dc251d8..b091edb64d 100644
--- a/tests/auto/gui/text/qstatictext/tst_qstatictext.cpp
+++ b/tests/auto/gui/text/qstatictext/tst_qstatictext.cpp
@@ -681,7 +681,7 @@ static bool checkPixels(const QImage &image,
if (pixel != expectedRgb1 && pixel != expectedRgb2) {
QString message;
QDebug(&message) << "Color mismatch in image" << image
- << "at" << x << ',' << y << ':' << showbase << hex << pixel
+ << "at" << x << ',' << y << ':' << Qt::showbase << Qt::hex << pixel
<< "(expected: " << expectedRgb1 << ',' << expectedRgb2 << ')';
*errorMessage = message.toLocal8Bit();
return false;