author | mickeyl <mickeyl> | 2004-03-08 16:35:56 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-03-08 16:35:56 (UTC) |
commit | 82fb70f4e5d8582185da89264e1a1e3b2517f459 (patch) (unidiff) | |
tree | 12dfcfee4c95d3c96809397197c2b09e6e09cea6 /library/lnkproperties.cpp | |
parent | 15a9a86fbec54292a82663e1b01c93450f3fbbf8 (diff) | |
download | opie-82fb70f4e5d8582185da89264e1a1e3b2517f459.zip opie-82fb70f4e5d8582185da89264e1a1e3b2517f459.tar.gz opie-82fb70f4e5d8582185da89264e1a1e3b2517f459.tar.bz2 |
add a line where the user can insert command line arguments for the AppLnk
-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 | |||
@@ -125,8 +125,11 @@ LnkProperties::LnkProperties( AppLnk* l, QWidget* parent ) | |||
125 | else { | 125 | else { |
126 | d->rotateButtons->setEnabled(false); | 126 | d->rotateButtons->setEnabled(false); |
127 | } | 127 | } |
128 | 128 | ||
129 | if ( !l->property( "Arguments" ).isEmpty() ) | ||
130 | d->arguments->setText( l->property( "Arguments" ) ); | ||
131 | |||
129 | Config cfg("Launcher"); | 132 | Config cfg("Launcher"); |
130 | cfg.setGroup("Preload"); | 133 | cfg.setGroup("Preload"); |
131 | QStringList apps = cfg.readListEntry("Apps",','); | 134 | QStringList apps = cfg.readListEntry("Apps",','); |
132 | d->preload->setChecked( apps.contains(l->exec()) ); | 135 | d->preload->setChecked( apps.contains(l->exec()) ); |