* 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:
parent
0710825034
commit
fbc83f9780
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user