remove some dead code

svn path=/trunk/KDE/kdelibs/; revision=964488
This commit is contained in:
Aaron J. Seigo 2009-05-06 18:38:50 +00:00
parent ef6d0641dd
commit 43629ac0f6

View File

@ -282,7 +282,6 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints)
//emulate the same kind of behavior as Qt::Popup (close when you click somewhere
//else.
dialog->setWindowFlags(Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint);
updateDialogFlags();
KWindowSystem::setState(dialog->winId(), NET::SkipTaskbar | NET::SkipPager);
dialog->installEventFilter(q);
@ -458,10 +457,6 @@ void PopupApplet::popupEvent(bool)
void PopupApplet::setPassivePopup(bool passive)
{
d->passive = passive;
if (d->dialog) {
d->updateDialogFlags();
}
}
bool PopupApplet::isPassivePopup() const
@ -705,14 +700,6 @@ void PopupAppletPrivate::updateDialogPosition()
dialog->move(pos);
}
void PopupAppletPrivate::updateDialogFlags()
{
Q_ASSERT(dialog);
//dialog->setAttribute(Qt::WA_X11NetWmWindowTypeNotification, passive);
}
} // Plasma namespace
#include "popupapplet.moc"