mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-02-03 10:47:47 +01:00
Move some comments.
This commit is contained in:
parent
4a6a43884e
commit
69e81fc50b
@ -63,9 +63,9 @@ SystemFactory::AutoStartStatus SystemFactory::getAutoStartStatus() const {
|
|||||||
return SystemFactory::Disabled;
|
return SystemFactory::Disabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#elif defined(Q_OS_LINUX)
|
||||||
// Use proper freedesktop.org way to auto-start the application on Linux.
|
// Use proper freedesktop.org way to auto-start the application on Linux.
|
||||||
// INFO: http://standards.freedesktop.org/autostart-spec/latest/
|
// INFO: http://standards.freedesktop.org/autostart-spec/latest/
|
||||||
#elif defined(Q_OS_LINUX)
|
|
||||||
const QString desktop_file_location = getAutostartDesktopFileLocation();
|
const QString desktop_file_location = getAutostartDesktopFileLocation();
|
||||||
|
|
||||||
// No correct path was found.
|
// No correct path was found.
|
||||||
@ -86,8 +86,8 @@ SystemFactory::AutoStartStatus SystemFactory::getAutoStartStatus() const {
|
|||||||
return SystemFactory::Disabled;
|
return SystemFactory::Disabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Disable auto-start functionality on unsupported platforms.
|
|
||||||
#else
|
#else
|
||||||
|
// Disable auto-start functionality on unsupported platforms.
|
||||||
return SystemFactory::Unavailable;
|
return SystemFactory::Unavailable;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user