From 58deaeee97621ca07e0e4a04fa141c654b6e619b Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Thu, 1 May 2014 14:03:04 -0700 Subject: [PATCH] Explain what the * are in qtdiag's output or remove them Change-Id: Ie5c43c88d51d282bde4e1d91e86b95e4e5c4e91f Reviewed-by: Friedemann Kleint --- src/qtdiag/qtdiag.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/qtdiag/qtdiag.cpp b/src/qtdiag/qtdiag.cpp index ccdf902..e3778be 100644 --- a/src/qtdiag/qtdiag.cpp +++ b/src/qtdiag/qtdiag.cpp @@ -236,7 +236,7 @@ QString qtDiag(unsigned flags) DUMP_LIBRARYPATH(str, ExamplesPath) DUMP_LIBRARYPATH(str, TestsPath) - str << "\nStandard paths:\n"; + str << "\nStandard paths [*...* denote writable entry]:\n"; DUMP_STANDARDPATH(str, DesktopLocation) DUMP_STANDARDPATH(str, DocumentsLocation) DUMP_STANDARDPATH(str, FontsLocation) @@ -338,9 +338,9 @@ QString qtDiag(unsigned flags) str << "\nScreens: " << screenCount << '\n'; for (int s = 0; s < screenCount; ++s) { const QScreen *screen = screens.at(s); - str << (screen == QGuiApplication::primaryScreen() ? '*' : ' ') - << '#' << ' ' << s << " \"" << screen->name() << '"' + str << '#' << ' ' << s << " \"" << screen->name() << '"' << " Depth: " << screen->depth() + << " Primary: " << (screen == QGuiApplication::primaryScreen() ? "yes" : "no") << "\n Geometry: " << screen->geometry() << " Available: " << screen->availableGeometry(); if (screen->geometry() != screen->virtualGeometry()) str << "\n Virtual geometry: " << screen->virtualGeometry() << " Available: " << screen->availableVirtualGeometry(); -- 2.7.4