mirror of
https://github.com/tnodir/fort
synced 2024-11-15 09:59:38 +00:00
UI: Don't rewrite startup link.
This commit is contained in:
parent
a356f2b2ee
commit
ad1780d3aa
@ -26,6 +26,9 @@ bool FortSettings::startWithWindows() const
|
||||
|
||||
void FortSettings::setStartWithWindows(bool start)
|
||||
{
|
||||
if (start == startWithWindows())
|
||||
return;
|
||||
|
||||
const QString linkPath = startupShortcutPath();
|
||||
if (start) {
|
||||
FileUtil::linkFile(qApp->applicationFilePath(), linkPath);
|
||||
|
Loading…
Reference in New Issue
Block a user