X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fdaemon%2Fmain.cpp;h=7613a1583faeb0084244b50556c354782ca13fcd;hb=ee9cbde6d8233ae35e57771468588e6a198ec246;hp=d07a3ea3042a2785e379f434d7c0ffabfe6d9e8e;hpb=f47fcb3ca78e8b27cace31fb18becd9dfa35d3d8;p=jenirok diff --git a/src/daemon/main.cpp b/src/daemon/main.cpp index d07a3ea..7613a15 100644 --- a/src/daemon/main.cpp +++ b/src/daemon/main.cpp @@ -21,14 +21,13 @@ #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 && QString(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") {