* apparently we're using .2 for OverviewZoom

* add FullScreen so we're catching all enumerated values in the switch

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692589
This commit is contained in:
Aaron J. Seigo 2007-07-25 22:54:35 +00:00
parent 0710825034
commit fbc83f9780

View File

@ -31,9 +31,12 @@ qreal scalingFactor(ZoomLevel level)
return 0.5; return 0.5;
break; break;
case OverviewZoom: case OverviewZoom:
return 0.1; return 0.2;
break; break;
} }
// to make odd compilers not warn like silly beasts
return 1;
} }
Direction locationToDirection(Location location) Direction locationToDirection(Location location)
@ -43,6 +46,7 @@ Direction locationToDirection(Location location)
case Floating: case Floating:
case Desktop: case Desktop:
case TopEdge: case TopEdge:
case FullScreen:
//TODO: should we be smarter for floating and planer? //TODO: should we be smarter for floating and planer?
// perhaps we should take a QRect and/or QPos as well? // perhaps we should take a QRect and/or QPos as well?
return Down; return Down;