Add warning when enabling X11 shortcuts on gnome, cinnamon and KDE

This commit is contained in:
Jonas Kvinge
2019-01-25 21:36:28 +01:00
parent 3241815a11
commit f90de75e3a
7 changed files with 147 additions and 29 deletions

View File

@@ -62,7 +62,7 @@ class GlobalShortcutsSettingsPage : public SettingsPage {
void X11Changed(bool);
#endif
#ifdef HAVE_DBUS
void DBusChanged(bool);
void GSDChanged(bool);
void OpenGnomeKeybindingProperties();
#endif
#endif
@@ -81,6 +81,8 @@ class GlobalShortcutsSettingsPage : public SettingsPage {
void SetShortcut(const QString &id, const QKeySequence &key);
void X11Warning();
private:
Ui_GlobalShortcutsSettingsPage *ui_;
@@ -91,6 +93,8 @@ class GlobalShortcutsSettingsPage : public SettingsPage {
QMap<QString, Shortcut> shortcuts_;
QString current_id_;
QString de_;
};
#endif // GLOBALSHORTCUTSSETTINGSPAGE_H