remove some dead code
svn path=/trunk/KDE/kdelibs/; revision=964488
This commit is contained in:
parent
ef6d0641dd
commit
43629ac0f6
@ -282,7 +282,6 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints)
|
|||||||
//emulate the same kind of behavior as Qt::Popup (close when you click somewhere
|
//emulate the same kind of behavior as Qt::Popup (close when you click somewhere
|
||||||
//else.
|
//else.
|
||||||
dialog->setWindowFlags(Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint);
|
dialog->setWindowFlags(Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint);
|
||||||
updateDialogFlags();
|
|
||||||
KWindowSystem::setState(dialog->winId(), NET::SkipTaskbar | NET::SkipPager);
|
KWindowSystem::setState(dialog->winId(), NET::SkipTaskbar | NET::SkipPager);
|
||||||
dialog->installEventFilter(q);
|
dialog->installEventFilter(q);
|
||||||
|
|
||||||
@ -458,10 +457,6 @@ void PopupApplet::popupEvent(bool)
|
|||||||
void PopupApplet::setPassivePopup(bool passive)
|
void PopupApplet::setPassivePopup(bool passive)
|
||||||
{
|
{
|
||||||
d->passive = passive;
|
d->passive = passive;
|
||||||
|
|
||||||
if (d->dialog) {
|
|
||||||
d->updateDialogFlags();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool PopupApplet::isPassivePopup() const
|
bool PopupApplet::isPassivePopup() const
|
||||||
@ -705,14 +700,6 @@ void PopupAppletPrivate::updateDialogPosition()
|
|||||||
dialog->move(pos);
|
dialog->move(pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void PopupAppletPrivate::updateDialogFlags()
|
|
||||||
{
|
|
||||||
Q_ASSERT(dialog);
|
|
||||||
//dialog->setAttribute(Qt::WA_X11NetWmWindowTypeNotification, passive);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
} // Plasma namespace
|
} // Plasma namespace
|
||||||
|
|
||||||
#include "popupapplet.moc"
|
#include "popupapplet.moc"
|
||||||
|
Loading…
Reference in New Issue
Block a user