mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Make KeePassXC start after the system tray is available on LXQt
This commit is contained in:
parent
d6b69204a6
commit
e29cf8bfef
@ -137,7 +137,8 @@ void NixUtils::setLaunchAtStartup(bool enable)
|
||||
<< QStringLiteral("MimeType=application/x-keepass2;") << '\n'
|
||||
<< QStringLiteral("X-GNOME-Autostart-enabled=true") << '\n'
|
||||
<< QStringLiteral("X-GNOME-Autostart-Delay=2") << '\n'
|
||||
<< QStringLiteral("X-KDE-autostart-after=panel") << endl;
|
||||
<< QStringLiteral("X-KDE-autostart-after=panel") << '\n'
|
||||
<< QStringLiteral("X-LXQt-Need-Tray=true") << endl;
|
||||
desktopFile.close();
|
||||
} else if (isLaunchAtStartupEnabled()) {
|
||||
QFile::remove(getAutostartDesktopFilename());
|
||||
|
Loading…
Reference in New Issue
Block a user