Make KeePassXC start after the system tray is available on LXQt

This commit is contained in:
Chih-Hsuan Yen
2021-01-22 22:29:14 +08:00
committed by Jonathan White
parent 7264b7fc26
commit ae20ee61be

View File

@@ -120,7 +120,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());