GlobalShortcutsManager: Fix reading settings
This commit is contained in:
parent
b849edfcca
commit
3127474fd7
@ -116,8 +116,6 @@ void GlobalShortcutsManager::ReloadSettings() {
|
|||||||
backends_enabled_ << GlobalShortcutsBackend::Type_Win;
|
backends_enabled_ << GlobalShortcutsBackend::Type_Win;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
settings_.beginGroup(GlobalShortcutsSettingsPage::kSettingsGroup);
|
|
||||||
|
|
||||||
#if defined(Q_OS_UNIX) && !defined(Q_OS_MACOS) && defined(HAVE_DBUS)
|
#if defined(Q_OS_UNIX) && !defined(Q_OS_MACOS) && defined(HAVE_DBUS)
|
||||||
if (settings_.value("use_kde", true).toBool()) {
|
if (settings_.value("use_kde", true).toBool()) {
|
||||||
backends_enabled_ << GlobalShortcutsBackend::Type_KDE;
|
backends_enabled_ << GlobalShortcutsBackend::Type_KDE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user