Fix compile.
svn path=/trunk/KDE/kdebase/workspace/; revision=659564
This commit is contained in:
parent
867c495c83
commit
6c91ced7a0
1 changed files with 1 additions and 1 deletions
|
@ -1610,7 +1610,7 @@ void Workspace::setDesktopLayout(NET::Orientation o, int x, int y,NET::DesktopLa
|
|||
|
||||
void Workspace::calcDesktopLayout(int* xp, int* yp, Qt::Orientation* orientation) const
|
||||
{
|
||||
x = layoutX; // <= 0 means compute it from the other and total number of desktops
|
||||
int x = layoutX; // <= 0 means compute it from the other and total number of desktops
|
||||
int y = layoutY;
|
||||
if((x <= 0) && (y > 0))
|
||||
x = (numberOfDesktops()+y-1) / y;
|
||||
|
|
Loading…
Reference in a new issue