- fix compiler error
- fix compiler warning svn path=/trunk/kdebase/kwin/; revision=290440
This commit is contained in:
parent
c452b659d4
commit
1e121b6c94
1 changed files with 2 additions and 1 deletions
|
@ -68,7 +68,7 @@ void Workspace::updateClientArea( bool force )
|
|||
int nscreens = desktopwidget -> numScreens ();
|
||||
// kdDebug () << "screens: " << nscreens << endl;
|
||||
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 desktopArea = desktopwidget -> geometry ();
|
||||
for( int iS = 0;
|
||||
|
@ -244,6 +244,7 @@ QRect Workspace::clientArea( clientAreaOption opt, const QPoint& p, int desktop
|
|||
return sarea;
|
||||
}
|
||||
assert( false );
|
||||
return QRect();
|
||||
}
|
||||
|
||||
QRect Workspace::clientArea( clientAreaOption opt, const Client* c ) const
|
||||
|
|
Loading…
Reference in a new issue