From 543a0d05b31831c9ae581e96f6a45fcd0004147c Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 5 Dec 2015 18:11:25 +0000 Subject: skinned: disable "Anti-aliasing" action on normal size git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5815 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Ui/skinned/actionmanager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/Ui/skinned/actionmanager.cpp b/src/plugins/Ui/skinned/actionmanager.cpp index 2d0c95d83..c1b0607af 100644 --- a/src/plugins/Ui/skinned/actionmanager.cpp +++ b/src/plugins/Ui/skinned/actionmanager.cpp @@ -57,6 +57,8 @@ ActionManager::ActionManager(QObject *parent) : 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")); m_actions[WM_ANTIALIASING] = createAction2(tr("Anti-aliasing"), "anti_aliasing", ""); + connect(m_actions[WM_DOUBLE_SIZE], SIGNAL(toggled(bool)), m_actions[WM_ANTIALIASING], SLOT(setEnabled(bool))); + m_actions[WM_ANTIALIASING]->setEnabled(false); //volume m_actions[VOL_ENC] = createAction(tr("Volume &+"), "vol_enc", tr("0")); m_actions[VOL_DEC] = createAction(tr("Volume &-"), "vol_dec", tr("9")); -- cgit v1.2.3-13-gbd6f