From b3e0107872acf9f4ed336c53979c4e9f72e951e6 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 29 Oct 2013 11:54:40 +0000 Subject: skinned: added volume hotkeys git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3831 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Ui/skinned/actionmanager.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/plugins/Ui/skinned/actionmanager.cpp') diff --git a/src/plugins/Ui/skinned/actionmanager.cpp b/src/plugins/Ui/skinned/actionmanager.cpp index 6461e65c5..1425879aa 100644 --- a/src/plugins/Ui/skinned/actionmanager.cpp +++ b/src/plugins/Ui/skinned/actionmanager.cpp @@ -56,6 +56,10 @@ ActionManager::ActionManager(QObject *parent) : m_actions[WM_ALLWAYS_ON_TOP] = createAction2(tr("Always on Top"), "always_on_top", ""); m_actions[WM_STICKY] = createAction2(tr("Put on All Workspaces"), "sticky", ""); m_actions[WM_DOUBLE_SIZE] = createAction2(tr("Double Size"), "double_size", tr("Meta+D")); + //volume + m_actions[VOL_ENC] = createAction(tr("Volume &+"), "vol_enc", tr("0")); + m_actions[VOL_DEC] = createAction(tr("Volume &-"), "vol_dec", tr("9")); + m_actions[VOL_MUTE] = createAction2(tr("&Mute"), "vol_mute", tr("M")); //playlist m_actions[PL_ADD_FILE] = createAction(tr("&Add File"), "add_file", tr("F"), "audio-x-generic"); m_actions[PL_ADD_DIRECTORY] = createAction(tr("&Add Directory"), "add_dir", tr("D"), "folder"); -- cgit v1.2.3-13-gbd6f