-rw-r--r-- | library/lnkproperties.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/library/lnkproperties.cpp b/library/lnkproperties.cpp index 0661423..865f590 100644 --- a/library/lnkproperties.cpp +++ b/library/lnkproperties.cpp @@ -113,32 +113,35 @@ LnkProperties::LnkProperties( AppLnk* l, QWidget* parent ) // possibly read-only. d->categoryEdit->hide(); d->docname->setReadOnly( TRUE ); if ( l->property("CanFastload") == "0" ) d->preload->hide(); if ( !l->property("Rotation"). isEmpty ()) { d->rotate->setChecked ( true ); //don't use rotate buttons for now (see comment above) //d->rotateButtons->setButton((l->rotation().toInt()%360)/90); } else { d->rotateButtons->setEnabled(false); } + if ( !l->property( "Arguments" ).isEmpty() ) + d->arguments->setText( l->property( "Arguments" ) ); + Config cfg("Launcher"); cfg.setGroup("Preload"); QStringList apps = cfg.readListEntry("Apps",','); d->preload->setChecked( apps.contains(l->exec()) ); if ( Global::isBuiltinCommand(lnk->exec()) ) d->preload->hide(); // builtins are always fast currentLocation = 0; // apps not movable (yet) } } LnkProperties::~LnkProperties() { } void LnkProperties::unlinkLnk() |