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")
{