diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2014-05-01 14:03:04 -0700 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-05-07 20:34:50 +0200 |
commit | 58deaeee97621ca07e0e4a04fa141c654b6e619b (patch) | |
tree | ac7c66924d800c5fb6d7e88d7d0755f40951ea71 | |
parent | 20595d07b2e1989fdfeabce54d4a1cc3bb4486a3 (diff) | |
download | qttools-58deaeee97621ca07e0e4a04fa141c654b6e619b.tar.gz |
Explain what the * are in qtdiag's output or remove them
Change-Id: Ie5c43c88d51d282bde4e1d91e86b95e4e5c4e91f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
-rw-r--r-- | src/qtdiag/qtdiag.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qtdiag/qtdiag.cpp b/src/qtdiag/qtdiag.cpp index ccdf90225..e3778bea0 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(); |