author | harlekin <harlekin> | 2002-06-11 22:25:10 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-06-11 22:25:10 (UTC) |
commit | 7bace0e2b8613aaf229acea03107c68159cfa6de (patch) (side-by-side diff) | |
tree | ce295ce492a11e7ef71e5f16ef4e47fd0b311617 | |
parent | 7ab79b2a607a0790d9ef040c76ae2687d9c5a3f8 (diff) | |
download | opie-7bace0e2b8613aaf229acea03107c68159cfa6de.zip opie-7bace0e2b8613aaf229acea03107c68159cfa6de.tar.gz opie-7bace0e2b8613aaf229acea03107c68159cfa6de.tar.bz2 |
attempt to fix remove from autostart
-rw-r--r-- | core/launcher/launcher.cpp | 2 |
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 @@ -793,33 +793,33 @@ void Launcher::systemMessage( const QCString &msg, const QByteArray &data) if ( modifier.compare("add") == 0 ){ // only add if appname is entered if (!appName.isEmpty()) { cfg.writeEntry("Apps", appName); } } 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 { } } else if ( msg == "sendCardInfo()" ) { QCopEnvelope e( "QPE/Desktop", "cardInfo(QString)" ); const QList<FileSystem> &fs = storage->fileSystems(); QListIterator<FileSystem> it ( fs ); |