summaryrefslogtreecommitdiff
Unidiff
Diffstat (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)
797 } 797 }
798 } else if (modifier.compare("remove") == 0 ) { 798 } else if (modifier.compare("remove") == 0 ) {
799 // need to change for multiple entries 799 // need to change for multiple entries
800 // actually remove is right now simular to clear, but in future there 800 // actually remove is right now simular to clear, but in future there
801 // should be multiple apps in autostart possible. 801 // should be multiple apps in autostart possible.
802 QString checkName; 802 QString checkName;
803 checkName = cfg.readEntry("Apps", ""); 803 checkName = cfg.readEntry("Apps", "");
804 if (checkName == appName) { 804 if (checkName == appName) {
805 cfg.writeEntry("Apps", ""); 805 cfg.writeEntry("Apps", "");
806 } 806 }
807 } 807 }
808 // case the autostart feature should be delayed 808 // case the autostart feature should be delayed
809 } else if ( msg == "autoStart(QString, QString, QString)") { 809 } else if ( msg == "autoStart(QString,QString,QString)") {
810 QString modifier, appName, delay; 810 QString modifier, appName, delay;
811 stream >> modifier >> appName >> delay; 811 stream >> modifier >> appName >> delay;
812 Config cfg( "autostart" ); 812 Config cfg( "autostart" );
813 cfg.setGroup( "AutoStart" ); 813 cfg.setGroup( "AutoStart" );
814 if ( modifier.compare("add") == 0 ){ 814 if ( modifier.compare("add") == 0 ){
815 // only add it appname is entered 815 // only add it appname is entered
816 if (!appName.isEmpty()) { 816 if (!appName.isEmpty()) {
817 cfg.writeEntry("Apps", appName); 817 cfg.writeEntry("Apps", appName);
818 cfg.writeEntry("Delay", delay); 818 cfg.writeEntry("Delay", delay);
819 } 819 }
820 } else { 820 } else {
821 } 821 }