aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/release-notes.md1
-rw-r--r--src/qt/guiutil.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/doc/release-notes.md b/doc/release-notes.md
index e0b8dc43c0..a74f4d6cae 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 7b264d27c7..4aeffbaf02 100644
--- a/src/qt/guiutil.cpp
+++ b/src/qt/guiutil.cpp
@@ -570,7 +570,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