From a73452bf6dfa6a3cf9518d8bc6b5572eea71849e Mon Sep 17 00:00:00 2001 From: Laurent Trinques Date: Sun, 26 Jan 2025 12:31:10 +0100 Subject: [PATCH] Polish --- sources/machine_info.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sources/machine_info.cpp b/sources/machine_info.cpp index 4e128ac8a..d5f9206ea 100644 --- a/sources/machine_info.cpp +++ b/sources/machine_info.cpp @@ -177,8 +177,8 @@ void MachineInfo::send_info_to_debug() // qInfo()<< " Home Location:"<< QStandardPaths::writableLocation(QStandardPaths::HomeLocation); // qInfo()<< " Runtime Location:"<< QStandardPaths::writableLocation(QStandardPaths::RuntimeLocation); // qInfo()<< " Cache Location:"<< QStandardPaths::writableLocation(QStandardPaths::CacheLocation); - qInfo()<< ""; - + qInfo()<< ""; + qInfo()<< " For elmt-files (user-/common-collections, user-/company-collections, user-/custom-collections, etc.):"; QStringList nameFilters; @@ -217,7 +217,7 @@ void MachineInfo::send_info_to_debug() } } qInfo()<< " Company Elements count:"<< companyElementsDir; - + qInfo()<< ""; qInfo()<< "*** Qt screens ***"; @@ -231,6 +231,7 @@ void MachineInfo::send_info_to_debug() + " )"; } qInfo()<< ""; + foreach (const QStorageInfo &storage, QStorageInfo::mountedVolumes()) { if (storage.isReadOnly()) qDebug() << "isReadOnly:" << storage.isReadOnly(); @@ -242,7 +243,7 @@ void MachineInfo::send_info_to_debug() } QStorageInfo storage(qApp->applicationDirPath()); - + if (storage.isReadOnly()) qDebug() << "isReadOnly:" << storage.isReadOnly();