Move GetStartOnSystemStartup and SetStartOnSystemStartup to GUI code

This commit is contained in:
Wladimir J. van der Laan
2012-05-01 18:44:11 +02:00
parent 82f66082b9
commit 67d4cbab46
7 changed files with 155 additions and 154 deletions

View File

@@ -656,11 +656,6 @@ bool AppInit2(int argc, char* argv[])
if (fServer)
CreateThread(ThreadRPCServer, NULL);
#ifdef QT_GUI
if (GetStartOnSystemStartup())
SetStartOnSystemStartup(true); // Remove startup links
#endif
#if !defined(QT_GUI)
while (1)
Sleep(5000);