theme: use default.
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user