Fix missing app ID and icon on Wayland
Wayland needs to know the name of the .desktop file to show a dock icon and application name. See: https://community.kde.org/Guidelines_and_HOWTOs/Wayland_Porting_Notes#Application_Icon
This commit is contained in:
committed by
wmayer
parent
addfc519d1
commit
9943e74f25
@@ -182,6 +182,10 @@ int main( int argc, char ** argv )
|
||||
App::Application::Config()["SplashTextColor" ] = "#ffffff"; // white
|
||||
App::Application::Config()["SplashInfoColor" ] = "#c8c8c8"; // light grey
|
||||
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 7, 0))
|
||||
QGuiApplication::setDesktopFileName(QStringLiteral("org.freecadweb.FreeCAD.desktop"));
|
||||
#endif
|
||||
|
||||
try {
|
||||
// Init phase ===========================================================
|
||||
// sets the default run mode for FC, starts with gui if not overridden in InitConfig...
|
||||
|
||||
Reference in New Issue
Block a user