diff options
| author | Wladimir J. van der Laan <[email protected]> | 2012-05-01 18:44:11 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2012-05-13 12:31:28 +0200 |
| commit | 67d4cbab461260cd51386a16a1a34bb9161e73a8 (patch) | |
| tree | c85905d162513f4f53c337de167ab362650cd58a /src/qt/bitcoin.cpp | |
| parent | Merge pull request #1270 from laanwj/2012_05_overviewpage2 (diff) | |
| download | discoin-67d4cbab461260cd51386a16a1a34bb9161e73a8.tar.xz discoin-67d4cbab461260cd51386a16a1a34bb9161e73a8.zip | |
Move GetStartOnSystemStartup and SetStartOnSystemStartup to GUI code
Diffstat (limited to 'src/qt/bitcoin.cpp')
| -rw-r--r-- | src/qt/bitcoin.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index 91f6a56c8..cf115c48f 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)) |