1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2026-02-08 00:32:27 +00:00

Fix missing application icon in linux.

This commit is contained in:
Filippo Scognamiglio
2025-12-24 19:20:49 +01:00
parent a8ec5d6f16
commit 33adf4106f

View File

@@ -87,6 +87,9 @@ int main(int argc, char *argv[])
#if !defined(Q_OS_MAC)
app.setWindowIcon(QIcon::fromTheme("cool-retro-term", QIcon(":../icons/32x32/cool-retro-term.png")));
#if defined(Q_OS_LINUX)
QGuiApplication::setDesktopFileName(QStringLiteral("cool-retro-term"));
#endif
#else
app.setWindowIcon(QIcon(":../icons/32x32/cool-retro-term.png"));
#endif