mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 12:34:37 +03:00
feat: hide dashboard at startup
This commit is contained in:
@@ -100,6 +100,7 @@ DialogBasicSettings::DialogBasicSettings(QWidget *parent)
|
||||
//
|
||||
D_LOAD_BOOL(check_include_pre)
|
||||
D_LOAD_BOOL(connection_statistics)
|
||||
D_LOAD_BOOL(start_minimal)
|
||||
//
|
||||
if (NekoRay::dataStore->traffic_loop_interval == 500) {
|
||||
ui->rfsh_r->setCurrentIndex(0);
|
||||
@@ -254,6 +255,7 @@ void DialogBasicSettings::accept() {
|
||||
NekoRay::dataStore->language = ui->language->currentIndex();
|
||||
D_SAVE_BOOL(connection_statistics)
|
||||
D_SAVE_BOOL(check_include_pre)
|
||||
D_SAVE_BOOL(start_minimal)
|
||||
|
||||
if (ui->rfsh_r->currentIndex() == 0) {
|
||||
NekoRay::dataStore->traffic_loop_interval = 500;
|
||||
|
||||
Reference in New Issue
Block a user