Skip to content

Commit

Permalink
Merge pull request #331 from plc-user/master
Browse files Browse the repository at this point in the history
machine_info: fix element-count and make static text a bit shorter
  • Loading branch information
scorpio810 authored Jan 27, 2025
2 parents 11e3f91 + c01549f commit e9d2c13
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sources/machine_info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,11 @@ void MachineInfo::send_info_to_debug()
#if defined(Q_OS_WIN32) || defined(Q_OS_WIN64)
qInfo()<< " App Config Location: see Regedit: HKEY_CURRENT_USER/Software/QElectroTech/";
#else
qInfo()<< " App Config Location:"<< QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation) +".conf/";
qInfo()<< " App Config Location:"<< QETApp::configDir();
#endif

qInfo()<< " For data-files (user-/company-collections, titleblocks, etc.):";
qInfo()<< " App Data Location:"<< QStandardPaths::writableLocation(QStandardPaths::AppDataLocation);
qInfo()<< " App Data Location:"<< QETApp::dataDir();
qInfo()<< " Directory for project stalefiles:";
qInfo()<< " Generic Data Location:"<< QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/stalefiles/QElectroTech/";
// qInfo()<< " App Local DataLocation:"<< QStandardPaths::writableLocation(QStandardPaths::ApplicationsLocation);
Expand All @@ -180,7 +180,7 @@ void MachineInfo::send_info_to_debug()
qInfo()<< "";


qInfo()<< " Count the *.elmt files you have in your collections (Official-common-collection, user-/company-collections, user-/custom-collections, etc.):";
qInfo()<< " Count the elements in your collections (Official-common-collection, company-collections, custom-collections):";
QStringList nameFilters;
nameFilters << "*.elmt";

Expand Down Expand Up @@ -252,7 +252,7 @@ void MachineInfo::send_info_to_debug()
qInfo() << "FileSystemType:" << storage.fileSystemType();
qInfo() << "SizeTotal:" << storage.bytesTotal()/1000000000 << "GB";
qInfo() << "AvailableSize:" << storage.bytesAvailable()/1000000000 << "GB";
qInfo()<< "Count All Elements in collections ="<< commomElementsDir + customElementsDir + customElementsDir << "Elements";
qInfo()<< "Count All Elements in collections ="<< commomElementsDir + customElementsDir + companyElementsDir << "Elements";

}

Expand Down

0 comments on commit e9d2c13

Please sign in to comment.