X-Git-Url: http://git.maemo.org/git/?p=jenirok;a=blobdiff_plain;f=src%2Fdaemon%2Fmain.cpp;h=ef17c49f600bd745aa7ff7be835cf94a72ea5568;hp=7dc2b014644f4e51735b0a12ff05fade7bc62ef6;hb=31ef9f4b5b1ce522a5c76332a0ae439abe2a1c44;hpb=4c87b6256dcaa2fc16568fcdb4d7a83f840cccd1 diff --git a/src/daemon/main.cpp b/src/daemon/main.cpp index 7dc2b01..ef17c49 100644 --- a/src/daemon/main.cpp +++ b/src/daemon/main.cpp @@ -19,14 +19,16 @@ #include #include #include +#include #include +#include #include "calllistener.h" #include "settings.h" int main(int argc, char *argv[]) { - // If daemon was started on boot, the first parameter is not set - if(!(argc >= 2 && argv[1] == "manual")) + // If daemon was started on boot, the first parameter is set to "-boot" + if(argc >= 2 && QString(argv[1]) == "-boot") { if(Settings::instance()->get("autostart") == "0") {