unhighlight when setShow is called; fixes the toolbox in the panel not going back to grey when the toolbox is hidden by clicking on another window
svn path=/trunk/KDE/kdelibs/; revision=1045294
This commit is contained in:
parent
84c7463c53
commit
8f3e0d5494
@ -231,13 +231,17 @@ void PanelToolBox::hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
|
||||
void PanelToolBox::showToolBox()
|
||||
{
|
||||
setShowing(true);
|
||||
highlight(true);
|
||||
}
|
||||
|
||||
void PanelToolBox::hideToolBox()
|
||||
{
|
||||
setShowing(false);
|
||||
highlight(false);
|
||||
}
|
||||
|
||||
void PanelToolBox::setShowing(bool show)
|
||||
{
|
||||
InternalToolBox::setShowing(show);
|
||||
highlight(show);
|
||||
}
|
||||
|
||||
void PanelToolBox::toolTipAboutToShow()
|
||||
@ -298,7 +302,6 @@ void PanelToolBox::animate(qreal progress)
|
||||
void PanelToolBox::toggle()
|
||||
{
|
||||
setShowing(!isShowing());
|
||||
highlight(isShowing());
|
||||
}
|
||||
|
||||
} // plasma namespace
|
||||
|
@ -50,6 +50,7 @@ public:
|
||||
|
||||
void showToolBox();
|
||||
void hideToolBox();
|
||||
void setShowing(bool show);
|
||||
|
||||
public Q_SLOTS:
|
||||
void toolTipAboutToShow();
|
||||
|
Loading…
Reference in New Issue
Block a user