unbreak compilation

svn path=/trunk/kdebase/kwin/; revision=296457
This commit is contained in:
Dirk Mueller 2004-03-17 02:57:23 +00:00
parent 0bb2610a9e
commit ac083a60f8

View file

@ -69,7 +69,7 @@ void Workspace::updateClientArea( bool force )
// kdDebug () << "screens: " << nscreens << endl;
QRect* new_wareas = new QRect[ numberOfDesktops() + 1 ];
QRect** new_sareas = new QRect*[ numberOfDesktops() + 1];
QRect screens [ nscreens ];
QRect* screens = new QRect [ nscreens ];
QRect desktopArea = desktopwidget -> geometry ();
for( int iS = 0;
iS < nscreens;
@ -186,6 +186,7 @@ void Workspace::updateClientArea( bool force )
++it)
(*it)->checkWorkspacePosition();
}
delete[] screens;
delete[] new_sareas;
delete[] new_wareas;
}