From 69e81fc50b8e17ecf63d8b8d5e6d059b45b973d4 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Thu, 23 Jun 2016 11:00:17 +0200 Subject: [PATCH] Move some comments. --- src/miscellaneous/systemfactory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/miscellaneous/systemfactory.cpp b/src/miscellaneous/systemfactory.cpp index 6c8349f12..4f69197fd 100755 --- a/src/miscellaneous/systemfactory.cpp +++ b/src/miscellaneous/systemfactory.cpp @@ -63,9 +63,9 @@ SystemFactory::AutoStartStatus SystemFactory::getAutoStartStatus() const { return SystemFactory::Disabled; } +#elif defined(Q_OS_LINUX) // Use proper freedesktop.org way to auto-start the application on Linux. // INFO: http://standards.freedesktop.org/autostart-spec/latest/ -#elif defined(Q_OS_LINUX) const QString desktop_file_location = getAutostartDesktopFileLocation(); // No correct path was found. @@ -86,8 +86,8 @@ SystemFactory::AutoStartStatus SystemFactory::getAutoStartStatus() const { return SystemFactory::Disabled; } - // Disable auto-start functionality on unsupported platforms. #else + // Disable auto-start functionality on unsupported platforms. return SystemFactory::Unavailable; #endif }