diff --git a/geometry.cpp b/geometry.cpp index 0b9ea1286c..58def96eb7 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -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;