aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoin.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-05-01 18:44:11 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2012-05-13 12:31:28 +0200
commit67d4cbab461260cd51386a16a1a34bb9161e73a8 (patch)
treec85905d162513f4f53c337de167ab362650cd58a /src/qt/bitcoin.cpp
parent82f66082b986132ab9ef039afa3c1e116dcbb36b (diff)
Move GetStartOnSystemStartup and SetStartOnSystemStartup to GUI code
Diffstat (limited to 'src/qt/bitcoin.cpp')
-rw-r--r--src/qt/bitcoin.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp
index 91f6a56c82..cf115c48f1 100644
--- a/src/qt/bitcoin.cpp
+++ b/src/qt/bitcoin.cpp
@@ -232,6 +232,10 @@ int main(int argc, char *argv[])
try
{
+ // Regenerate startup link, to fix links to old versions
+ if (GUIUtil::GetStartOnSystemStartup())
+ GUIUtil::SetStartOnSystemStartup(true);
+
BitcoinGUI window;
guiref = &window;
if(AppInit2(argc, argv))