now that we actually have the effect, we don't need this useless bit of comment :)

svn path=/trunk/KDE/kdelibs/; revision=1002811
This commit is contained in:
Aaron J. Seigo 2009-07-27 02:40:38 +00:00
parent 6a60d6cf75
commit c7be859522

View File

@ -552,25 +552,6 @@ void PopupAppletPrivate::internalTogglePopup()
KWindowSystem::setState(dialog->winId(), NET::SkipTaskbar | NET::SkipPager);
/**
a sketch of what it might look like to do the animated show/hide using the WM
NETWinInfo ni(QX11Info::display(), dialog->winId(), QX11Info::appRootWindow(), 0);
NETRect r;
QRect rect = q->geometry().toRect();
rect.setTopLeft(q->view()->mapToGlobal(rect.topLeft()));
if (rect.isValid())
{
r.pos.x = rect.x();
r.pos.y = rect.y();
r.size.width = rect.width();
r.size.height = rect.height();
}
ni.setIconGeometry(r);
KWindowSystem::minimizeWindow(dialog->winId());
KWindowSystem::unminimizeWindow(dialog->winId());
*/
if (q->location() != Floating) {
dialog->animatedShow(locationToDirection(q->location()));
} else {