Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

Set desktop file name and window icon for the application

Balló György5ce726931157
diff --git a/toonz/sources/toonz/main.cpp b/toonz/sources/toonz/main.cpp
index 911651806..98f2dfa9c 100644
--- a/toonz/sources/toonz/main.cpp
+++ b/toonz/sources/toonz/main.cpp
@@ -163,6 +163,8 @@ static void initToonzEnv(QHash<QString, QString> &argPathValues) {
QCoreApplication::setOrganizationName("OpenToonz");
QCoreApplication::setOrganizationDomain("");
+ QGuiApplication::setDesktopFileName("io.github.OpenToonz");
+ QGuiApplication::setWindowIcon(QIcon::fromTheme("io.github.OpenToonz"));
QCoreApplication::setApplicationName(
QString::fromStdString(TEnv::getApplicationName()));