Log used style

This commit is contained in:
Jonas Kvinge
2020-11-08 03:22:38 +01:00
parent 6f49918ee9
commit e801254b2e

View File

@@ -206,6 +206,7 @@ int main(int argc, char* argv[]) {
if (style != "default") { if (style != "default") {
QApplication::setStyle(style); QApplication::setStyle(style);
} }
if (QApplication::style()) qLog(Debug) << "Style:" << QApplication::style()->objectName();
} }
// Set the permissions on the config file on Unix - it can contain passwords for internet services so it's important that other users can't read it. // Set the permissions on the config file on Unix - it can contain passwords for internet services so it's important that other users can't read it.