summaryrefslogtreecommitdiff
path: root/library/lnkproperties.cpp
Side-by-side diff
Diffstat (limited to 'library/lnkproperties.cpp') (more/less context) (show whitespace changes)
-rw-r--r--library/lnkproperties.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/lnkproperties.cpp b/library/lnkproperties.cpp
index 0b30a9a..745ee2c 100644
--- a/library/lnkproperties.cpp
+++ b/library/lnkproperties.cpp
@@ -118,3 +118,3 @@ LnkProperties::LnkProperties( AppLnk* l, QWidget* parent )
d->rotate->setChecked ( true );
- d->rotateButtons->setButton(((QPEApplication::defaultRotation()+l->rotation().toInt())%360)/90);
+ d->rotateButtons->setButton((l->rotation().toInt()%360)/90);
}
@@ -297,3 +297,3 @@ void LnkProperties::done(int ok)
}
- newrot = QString::number((QPEApplication::defaultRotation()+rot*90)%360);
+ newrot = QString::number((rot*90)%360);
}