theme: use default.

This commit is contained in:
2025-10-23 09:52:47 +08:00
parent 42a7d89221
commit c09f03f3cc
2 changed files with 5 additions and 5 deletions

View File

@@ -29,10 +29,10 @@ int main(int argc, char* argv[])
frelayGUI w; frelayGUI w;
QFile file(":/qss/flatgray.css"); // QFile file(":/qss/flatgray.css");
if (file.open(QFile::ReadOnly)) { // if (file.open(QFile::ReadOnly)) {
a.setStyleSheet(file.readAll()); // a.setStyleSheet(file.readAll());
} // }
QObject::connect(&a, &SingleApplication::instanceStarted, &w, [&w]() { QObject::connect(&a, &SingleApplication::instanceStarted, &w, [&w]() {
w.showNormal(); w.showNormal();

View File

@@ -121,7 +121,7 @@ void Util::ConsoleMsgHander(QtMsgType type, const QMessageLogContext& context, c
QString Util::GetVersion() QString Util::GetVersion()
{ {
auto ver = QString("frelay %1 %2").arg(VERSION_NUM, VERSION_DEV); auto ver = QString("frelay %1 %2 %3").arg(VERSION_NUM, VERSION_DEV, VERSION_GIT_COMMIT);
return ver; return ver;
} }