Skip to content

Commit

Permalink
Set the app id to display the app icon on taskbar
Browse files Browse the repository at this point in the history
  • Loading branch information
redtide committed Apr 24, 2024
1 parent 0c9b871 commit d4bc049
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ target_compile_definitions(${PROJECT_NAME} PRIVATE
APPLICATION_VERSION="${PROJECT_VERSION}"
ORGANIZATION_DOMAIN="${PROJECT_ORGANIZATION_URL}"
ORGANIZATION_NAME="${PROJECT_ORGANIZATION_NAME}"
PROJECT_APPSTREAM_ID="${PROJECT_APPSTREAM_ID}"
PROJECT_DATA_DIR="${PROJECT_DATA_DIR}"
PROJECT_DESCRIPTION="${PROJECT_DESCRIPTION}"
PROJECT_TRANSLATION_TEST="${PROJECT_TRANSLATION_TEST}"
Expand Down
1 change: 1 addition & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ auto main(int argc, char* argv[]) -> int
app.setOrganizationName(ORGANIZATION_NAME);
app.setOrganizationDomain(ORGANIZATION_DOMAIN);
app.setApplicationVersion(APPLICATION_VERSION);
app.setDesktopFileName(PROJECT_APPSTREAM_ID);

QTranslator qtTranslator, translator;
initLocale(&qtTranslator, &translator);
Expand Down

0 comments on commit d4bc049

Please sign in to comment.