From b953b13b62bc12a511d30943a3486adc9f98d6c2 Mon Sep 17 00:00:00 2001 From: Cozz Lovan Date: Thu, 29 May 2014 05:21:58 +0200 Subject: [PATCH] [Qt] Fix Start bitcoin on system login Rebased-By: Wladimir J. van der Laan Rebased-From: 066d9a5 --- doc/release-notes.md | 1 + src/qt/guiutil.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/release-notes.md b/doc/release-notes.md index e0b8dc43c..a74f4d6ca 100644 --- a/doc/release-notes.md +++ b/doc/release-notes.md @@ -121,6 +121,7 @@ GUI: - Catch Windows shutdown events while client is running - Optionally add third party links to transaction context menu - Check for !pixmap() before trying to export QR code (avoids crashes when no QR code could be generated) +- Fix "Start bitcoin on system login" Miscellaneous: diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index 6460d0bff..b6d6ca09f 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -575,7 +575,7 @@ bool SetStartOnSystemStartup(bool fAutoStart) return true; } -#elif defined(LINUX) +#elif defined(Q_OS_LINUX) // Follow the Desktop Application Autostart Spec: // http://standards.freedesktop.org/autostart-spec/autostart-spec-latest.html