From 9eb339dd2b463cc86bbeed73e349afe0b3ad7a23 Mon Sep 17 00:00:00 2001 From: saturneric Date: Wed, 18 Oct 2023 02:06:44 +0800 Subject: refactor: use piml tech to rewrite GlobalSettingsStation --- src/ui/widgets/KeyList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/widgets/KeyList.cpp') diff --git a/src/ui/widgets/KeyList.cpp b/src/ui/widgets/KeyList.cpp index 63c1eb24..e867735b 100644 --- a/src/ui/widgets/KeyList.cpp +++ b/src/ui/widgets/KeyList.cpp @@ -380,7 +380,7 @@ void KeyList::dropEvent(QDropEvent* event) { dialog->exec(); if (dialog->result() == QDialog::Rejected) return; - auto& settings = GlobalSettingStation::GetInstance().GetUISettings(); + auto& settings = GlobalSettingStation::GetInstance().GetMainSettings(); if (!settings.exists("general") || settings.lookup("general").getType() != libconfig::Setting::TypeGroup) -- cgit v1.2.3