unbreak compilation
svn path=/trunk/kdebase/kwin/; revision=296457
This commit is contained in:
parent
0bb2610a9e
commit
ac083a60f8
1 changed files with 2 additions and 1 deletions
|
@ -69,7 +69,7 @@ void Workspace::updateClientArea( bool force )
|
||||||
// kdDebug () << "screens: " << nscreens << endl;
|
// kdDebug () << "screens: " << nscreens << endl;
|
||||||
QRect* new_wareas = new QRect[ numberOfDesktops() + 1 ];
|
QRect* new_wareas = new QRect[ numberOfDesktops() + 1 ];
|
||||||
QRect** new_sareas = new QRect*[ numberOfDesktops() + 1];
|
QRect** new_sareas = new QRect*[ numberOfDesktops() + 1];
|
||||||
QRect screens [ nscreens ];
|
QRect* screens = new QRect [ nscreens ];
|
||||||
QRect desktopArea = desktopwidget -> geometry ();
|
QRect desktopArea = desktopwidget -> geometry ();
|
||||||
for( int iS = 0;
|
for( int iS = 0;
|
||||||
iS < nscreens;
|
iS < nscreens;
|
||||||
|
@ -186,6 +186,7 @@ void Workspace::updateClientArea( bool force )
|
||||||
++it)
|
++it)
|
||||||
(*it)->checkWorkspacePosition();
|
(*it)->checkWorkspacePosition();
|
||||||
}
|
}
|
||||||
|
delete[] screens;
|
||||||
delete[] new_sareas;
|
delete[] new_sareas;
|
||||||
delete[] new_wareas;
|
delete[] new_wareas;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue