the corona check is irrelevant here

svn path=/trunk/KDE/kdelibs/; revision=1042455
This commit is contained in:
Aaron J. Seigo 2009-10-29 20:41:07 +00:00
parent df6032f5ef
commit a804fba5ad

View File

@ -168,12 +168,6 @@ View::~View()
void View::setScreen(int screen, int desktop)
{
if (screen > -1) {
Corona *corona = qobject_cast<Corona*>(scene());
if (!corona) {
return;
}
// -1 == All desktops
if (desktop < -1 || desktop > KWindowSystem::numberOfDesktops() - 1) {
desktop = -1;