-rw-r--r-- | library/lnkproperties.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/lnkproperties.cpp b/library/lnkproperties.cpp index 865f590..f0f0bba 100644 --- a/library/lnkproperties.cpp +++ b/library/lnkproperties.cpp | |||
@@ -304,24 +304,28 @@ void LnkProperties::done(int ok) | |||
304 | for(; rot<4; rot++) { | 304 | for(; rot<4; rot++) { |
305 | if (d->rotateButtons->find(rot)->isOn()) | 305 | if (d->rotateButtons->find(rot)->isOn()) |
306 | break; | 306 | break; |
307 | } | 307 | } |
308 | newrot = QString::number((rot*90)%360); | 308 | newrot = QString::number((rot*90)%360); |
309 | } | 309 | } |
310 | if ( newrot != lnk->rotation() ) { | 310 | if ( newrot != lnk->rotation() ) { |
311 | lnk-> setRotation(newrot); | 311 | lnk-> setRotation(newrot); |
312 | changed = TRUE; | 312 | changed = TRUE; |
313 | reloadMime = TRUE; | 313 | reloadMime = TRUE; |
314 | } | 314 | } |
315 | } | 315 | } |
316 | if ( d->arguments->text() != lnk->property( "Arguments" ) ) { | ||
317 | lnk->setProperty( "Arguments", d->arguments->text() ); | ||
318 | changed = TRUE; | ||
319 | } | ||
316 | if ( d->preload->isHidden() && d->locationCombo->currentItem() != currentLocation ) { | 320 | if ( d->preload->isHidden() && d->locationCombo->currentItem() != currentLocation ) { |
317 | moveLnk(); | 321 | moveLnk(); |
318 | } else if ( changed ) { | 322 | } else if ( changed ) { |
319 | lnk->writeLink(); | 323 | lnk->writeLink(); |
320 | } | 324 | } |
321 | 325 | ||
322 | if ( !d->preload->isHidden() ) { | 326 | if ( !d->preload->isHidden() ) { |
323 | Config cfg("Launcher"); | 327 | Config cfg("Launcher"); |
324 | cfg.setGroup("Preload"); | 328 | cfg.setGroup("Preload"); |
325 | QStringList apps = cfg.readListEntry("Apps",','); | 329 | QStringList apps = cfg.readListEntry("Apps",','); |
326 | QString exe = lnk->exec(); | 330 | QString exe = lnk->exec(); |
327 | if ( apps.contains(exe) != d->preload->isChecked() ) { | 331 | if ( apps.contains(exe) != d->preload->isChecked() ) { |