Update mainwindow.cpp

This commit is contained in:
parhelia512 2025-08-14 22:28:51 +08:00 committed by GitHub
parent 02f2545a3e
commit 7e972bb8f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -141,7 +141,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi
QStringList args;
args.push_back("-port");
args.push_back(Int2String(Configs::dataStore->core_port));
if (Configs::dataStore->flag_debug) args.push_back("-debug");
if (Configs::dataStore->log_level == "debug") args.push_back("-debug");
// Start core
runOnThread(