From c09f03f3cc4e9d0a4cc5161bfd991b6582961b42 Mon Sep 17 00:00:00 2001 From: taynpg Date: Thu, 23 Oct 2025 09:52:47 +0800 Subject: [PATCH] theme: use default. --- Gui/main.cpp | 8 ++++---- Util/Util.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Gui/main.cpp b/Gui/main.cpp index 504080a..9a2e875 100644 --- a/Gui/main.cpp +++ b/Gui/main.cpp @@ -29,10 +29,10 @@ int main(int argc, char* argv[]) frelayGUI w; - QFile file(":/qss/flatgray.css"); - if (file.open(QFile::ReadOnly)) { - a.setStyleSheet(file.readAll()); - } + // QFile file(":/qss/flatgray.css"); + // if (file.open(QFile::ReadOnly)) { + // a.setStyleSheet(file.readAll()); + // } QObject::connect(&a, &SingleApplication::instanceStarted, &w, [&w]() { w.showNormal(); diff --git a/Util/Util.cpp b/Util/Util.cpp index 9539769..46e84fb 100644 --- a/Util/Util.cpp +++ b/Util/Util.cpp @@ -121,7 +121,7 @@ void Util::ConsoleMsgHander(QtMsgType type, const QMessageLogContext& context, c 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; }