mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Move GetStartOnSystemStartup and SetStartOnSystemStartup to GUI code
This commit is contained in:
parent
82f66082b9
commit
67d4cbab46
7 changed files with 155 additions and 154 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue