Add love button
This commit is contained in:
@@ -80,6 +80,7 @@ GlobalShortcuts::GlobalShortcuts(QWidget *parent)
|
||||
AddShortcut("shuffle_mode", "Change shuffle mode", SIGNAL(CycleShuffleMode()));
|
||||
AddShortcut("repeat_mode", "Change repeat mode", SIGNAL(CycleRepeatMode()));
|
||||
AddShortcut("toggle_scrobbling", "Enable/disable scrobbling", SIGNAL(ToggleScrobbling()));
|
||||
AddShortcut("love", "Love", SIGNAL(Love()));
|
||||
|
||||
// Create backends - these do the actual shortcut registration
|
||||
#ifdef HAVE_DBUS
|
||||
|
||||
@@ -85,6 +85,7 @@ class GlobalShortcuts : public QWidget {
|
||||
void CycleRepeatMode();
|
||||
void RemoveCurrentSong();
|
||||
void ToggleScrobbling();
|
||||
void Love();
|
||||
|
||||
private:
|
||||
void AddShortcut(const QString &id, const QString &name, const char *signal, const QKeySequence &default_key = QKeySequence(0));
|
||||
|
||||
Reference in New Issue
Block a user