the corona check is irrelevant here
svn path=/trunk/KDE/kdelibs/; revision=1042455
This commit is contained in:
parent
df6032f5ef
commit
a804fba5ad
6
view.cpp
6
view.cpp
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user