summaryrefslogtreecommitdiff
path: root/core
authorharlekin <harlekin>2002-06-11 22:25:10 (UTC)
committer harlekin <harlekin>2002-06-11 22:25:10 (UTC)
commit7bace0e2b8613aaf229acea03107c68159cfa6de (patch) (side-by-side diff)
treece295ce492a11e7ef71e5f16ef4e47fd0b311617 /core
parent7ab79b2a607a0790d9ef040c76ae2687d9c5a3f8 (diff)
downloadopie-7bace0e2b8613aaf229acea03107c68159cfa6de.zip
opie-7bace0e2b8613aaf229acea03107c68159cfa6de.tar.gz
opie-7bace0e2b8613aaf229acea03107c68159cfa6de.tar.bz2
attempt to fix remove from autostart
Diffstat (limited to 'core') (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/launcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/launcher/launcher.cpp b/core/launcher/launcher.cpp
index 59b38e3..e9e17f7 100644
--- a/core/launcher/launcher.cpp
+++ b/core/launcher/launcher.cpp
@@ -797,25 +797,25 @@ void Launcher::systemMessage( const QCString &msg, const QByteArray &data)
}
} else if (modifier.compare("remove") == 0 ) {
// need to change for multiple entries
// actually remove is right now simular to clear, but in future there
// should be multiple apps in autostart possible.
QString checkName;
checkName = cfg.readEntry("Apps", "");
if (checkName == appName) {
cfg.writeEntry("Apps", "");
}
}
// case the autostart feature should be delayed
- } else if ( msg == "autoStart(QString, QString, QString)") {
+ } else if ( msg == "autoStart(QString,QString,QString)") {
QString modifier, appName, delay;
stream >> modifier >> appName >> delay;
Config cfg( "autostart" );
cfg.setGroup( "AutoStart" );
if ( modifier.compare("add") == 0 ){
// only add it appname is entered
if (!appName.isEmpty()) {
cfg.writeEntry("Apps", appName);
cfg.writeEntry("Delay", delay);
}
} else {
}