summaryrefslogtreecommitdiffstats
path: root/tests/manual/diaglib/debugproxystyle.cpp
diff options
context:
space:
mode:
authorLeander Beernaert <leander.beernaert@qt.io>2019-11-11 14:03:37 +0100
committerLeander Beernaert <leander.beernaert@qt.io>2019-11-12 10:35:26 +0000
commit70a218b90b78bae29e730aee5b75a725e29e286e (patch)
tree9ee0719fda41686c8c0f68c78425e9ac745a6396 /tests/manual/diaglib/debugproxystyle.cpp
parent04e86bab13c8c33aaec0b40db34b52db9b78f326 (diff)
Fix compile errors related to missing Qt:: namespace
Change-Id: I092a26ef38b08c52d84adb027a1b1bdee8cc7f6b Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> (cherry picked from commit ce187c4f0e57d5053583613aeedbc89024bae240) Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/manual/diaglib/debugproxystyle.cpp')
-rw-r--r--tests/manual/diaglib/debugproxystyle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/manual/diaglib/debugproxystyle.cpp b/tests/manual/diaglib/debugproxystyle.cpp
index ed35af59629..809613cd1df 100644
--- a/tests/manual/diaglib/debugproxystyle.cpp
+++ b/tests/manual/diaglib/debugproxystyle.cpp
@@ -68,8 +68,8 @@ QDebug operator<<(QDebug debug, const QStyleOption *option)
} else {
debug << "QStyleOption(";
}
- debug << "rect=" << option->rect.width() << 'x' << option->rect.height()
- << forcesign << option->rect.x() << option->rect.y() << noforcesign;
+ debug << "rect=" << option->rect.width() << 'x' << option->rect.height() << Qt::forcesign
+ << option->rect.x() << option->rect.y() << Qt::noforcesign;
if (option->state != QStyle::State_None)
debug << ", state=" << option->state;
#if QT_VERSION >= 0x050000