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 d6b69204a6
commit e29cf8bfef

View File

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