mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
Move GetStartOnSystemStartup and SetStartOnSystemStartup to GUI code
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user