[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [krita/rempt/impex-refactoring] plugins/dockers/advancedcolorselector: Fix propertizing Color Histor
From:       Dmitry Kazakov <dimula73 () gmail ! com>
Date:       2016-12-08 11:23:05
Message-ID: E1cEwn3-0007ne-Of () code ! kde ! org
[Download RAW message or body]

Git commit 81453d3fd5461088090d4e0fb971ea579e9f06f5 by Dmitry Kazakov.
Committed on 08/12/2016 at 11:01.
Pushed by dkazakov into branch 'rempt/impex-refactoring'.

Fix propertizing Color History and Common Colors actions

BUG:348033

M  +2    -7    plugins/dockers/advancedcolorselector/kis_color_selector_ng_docker_widget.cpp


https://commits.kde.org/krita/81453d3fd5461088090d4e0fb971ea579e9f06f5

diff --git a/plugins/dockers/advancedcolorselector/kis_color_selector_ng_docker_widget.cpp \
b/plugins/dockers/advancedcolorselector/kis_color_selector_ng_docker_widget.cpp index \
                1b428f999cf..fecb32d29c4 100644
--- a/plugins/dockers/advancedcolorselector/kis_color_selector_ng_docker_widget.cpp
+++ b/plugins/dockers/advancedcolorselector/kis_color_selector_ng_docker_widget.cpp
@@ -93,15 +93,10 @@ KisColorSelectorNgDockerWidget::KisColorSelectorNgDockerWidget(QWidget \
*parent)  
     emit settingsChanged();
 
-    m_colorHistoryAction = new QAction("Show color history", this);
-    m_colorHistoryAction->setShortcut(QKeySequence(tr("H")));
-    // m_colorHistoryAction = \
KisActionRegistry::instance()->makeQAction("show_color_history", this); +    \
m_colorHistoryAction = \
                KisActionRegistry::instance()->makeQAction("show_color_history", \
                this);
     connect(m_colorHistoryAction, SIGNAL(triggered()), m_colorHistoryWidget, \
SLOT(showPopup()), Qt::UniqueConnection);  
-
-    m_commonColorsAction = new QAction("Show common colors", this);
-    m_commonColorsAction->setShortcut(QKeySequence(tr("U")));
-    // m_colorHistoryAction = \
KisActionRegistry::instance()->makeQAction("show_common_colors", this); +    \
m_commonColorsAction = \
                KisActionRegistry::instance()->makeQAction("show_common_colors", \
                this);
     connect(m_commonColorsAction, SIGNAL(triggered()), m_commonColorsWidget, \
SLOT(showPopup()), Qt::UniqueConnection);  
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic