From f58b012cee53c7ff766d2f796e238aa747e9b423 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Tue, 30 Dec 2008 02:07:57 +0000 Subject: [PATCH] make it harder for popupapplets to get tooltips wrong by hiding it for them svn path=/trunk/KDE/kdelibs/; revision=903160 --- popupapplet.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/popupapplet.cpp b/popupapplet.cpp index 9e33392bb..a46ab909e 100644 --- a/popupapplet.cpp +++ b/popupapplet.cpp @@ -33,10 +33,11 @@ #include #include "plasma/private/applet_p.h" -#include "plasma/dialog.h" #include "plasma/corona.h" #include "plasma/containment.h" +#include "plasma/dialog.h" #include "plasma/extender.h" +#include "plasma/tooltipmanager.h" #include "plasma/widgets/iconwidget.h" namespace Plasma @@ -474,6 +475,7 @@ void PopupAppletPrivate::internalTogglePopup() if (dialog->isVisible()) { dialog->hide(); } else { + ToolTipManager::self()->hide(q); updateDialogPosition(); KWindowSystem::setState(dialog->winId(), NET::SkipTaskbar | NET::SkipPager); dialog->show();