We still need the corona object to do this check :)

Fix broken build from last commit.


svn path=/trunk/KDE/kdelibs/; revision=1042459
This commit is contained in:
Artur Duque de Souza 2009-10-29 21:01:21 +00:00
parent a804fba5ad
commit df2e7b902e

View File

@ -173,6 +173,7 @@ void View::setScreen(int screen, int desktop)
desktop = -1;
}
Plasma::Corona *corona = qobject_cast<Plasma::Corona*>(scene());
Containment *containment = corona->containmentForScreen(screen, desktop);
d->lastScreen = screen;
d->lastDesktop = desktop;