dangerously this could get called via tooltip

svn path=/trunk/KDE/kdelibs/; revision=1179171
This commit is contained in:
Aaron J. Seigo 2010-09-24 18:14:29 +00:00
parent cdc70740bd
commit 735c89c730

View File

@ -279,6 +279,7 @@ void ToolTipManagerPrivate::createTipWidget()
if (tipWidget) {
return;
}
tipWidget = new ToolTip(0);
QObject::connect(tipWidget, SIGNAL(activateWindowByWId(WId,Qt::MouseButtons,Qt::KeyboardModifiers,QPoint)),
q, SIGNAL(windowPreviewActivated(WId,Qt::MouseButtons,Qt::KeyboardModifiers,QPoint)));
@ -291,7 +292,7 @@ void ToolTipManagerPrivate::hideTipWidget()
{
if (tipWidget) {
tipWidget->hide();
delete tipWidget;
tipWidget->deleteLater();
tipWidget = 0;
}
}