make it harder for popupapplets to get tooltips wrong by hiding it for them
svn path=/trunk/KDE/kdelibs/; revision=903160
This commit is contained in:
parent
7c7218cf89
commit
f58b012cee
@ -33,10 +33,11 @@
|
||||
#include <kglobalsettings.h>
|
||||
|
||||
#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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user