summaryrefslogtreecommitdiff
path: root/library/lnkproperties.cpp
Unidiff
Diffstat (limited to 'library/lnkproperties.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--library/lnkproperties.cpp10
1 files changed, 5 insertions, 5 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 )
118 d->rotate->setChecked ( true ); 118 d->rotate->setChecked ( true );
119 d->rotateButtons->setButton(((QPEApplication::defaultRotation()+l->rotation().toInt())%360)/90); 119 d->rotateButtons->setButton((l->rotation().toInt()%360)/90);
120 } 120 }
@@ -291,3 +291,3 @@ void LnkProperties::done(int ok)
291 291
292 if (d->rotate->isChecked()) { 292 if ( d->rotate->isChecked() ) {
293 int rot=0; 293 int rot=0;
@@ -297,6 +297,6 @@ void LnkProperties::done(int ok)
297 } 297 }
298 newrot = QString::number((QPEApplication::defaultRotation()+rot*90)%360); 298 newrot = QString::number((rot*90)%360);
299 } 299 }
300 if (newrot !=lnk->rotation()) { 300 if ( newrot != lnk->rotation() ) {
301 lnk->setRotation(newrot); 301 lnk-> setRotation(newrot);
302 changed = TRUE; 302 changed = TRUE;