Commit 59806415 authored by Thiago Macieira's avatar Thiago Macieira
Browse files

Display the selectors from QFileSelectors in qtdiag too


Change-Id: I708140d95e04d37d8593c1ff2f16ffa2b759abe0
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
Showing with 6 additions and 1 deletion
......@@ -64,6 +64,7 @@
#include <QtCore/QTextStream>
#include <QtCore/QStandardPaths>
#include <QtCore/QDir>
#include <QtCore/QFileSelector>
#include <private/qsimd_p.h>
#include <private/qguiapplication_p.h>
......@@ -268,7 +269,11 @@ QString qtDiag(unsigned flags)
DUMP_STANDARDPATH(str, GenericCacheLocation)
DUMP_STANDARDPATH(str, GenericConfigLocation)
str << "\nNetwork:\n ";
str << "\nFile selectors (increasing order of precedence):\n ";
foreach (const QString &s, QFileSelector().allSelectors())
str << ' ' << s;
str << "\n\nNetwork:\n ";
#ifdef NETWORK_DIAG
# ifndef QT_NO_SSL
if (QSslSocket::supportsSsl()) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment