avoid "deep" QVector copy
CCBUG: 217040 svn path=/trunk/KDE/kdebase/workspace/; revision=1064056
This commit is contained in:
parent
07368e7625
commit
d92c427d36
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ QRegion Workspace::previousRestrictedMoveArea( int desktop, StrutAreas areas ) c
|
|||
if( desktop == NETWinInfo::OnAllDesktops || desktop == 0 )
|
||||
desktop = currentDesktop();
|
||||
QRegion region;
|
||||
foreach( const StrutRect& rect, oldrestrictedmovearea[desktop] )
|
||||
foreach( const StrutRect& rect, oldrestrictedmovearea.at(desktop) )
|
||||
if( areas & rect.area() )
|
||||
region += rect;
|
||||
return region;
|
||||
|
|
Loading…
Reference in a new issue