From 25c470d49187983d678e000a886455d12e260a72 Mon Sep 17 00:00:00 2001 From: TheAssassin Date: Fri, 29 Nov 2019 04:20:13 +0100 Subject: [PATCH] Show window icon in settings dialog --- src/ui/CMakeLists.txt | 2 +- src/ui/settings_main.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ui/CMakeLists.txt b/src/ui/CMakeLists.txt index 6c2a9db2..d7a33e24 100644 --- a/src/ui/CMakeLists.txt +++ b/src/ui/CMakeLists.txt @@ -17,7 +17,7 @@ if(NOT BUILD_LITE) endif() # AppImageLauncherSettings application -add_executable(AppImageLauncherSettings settings_main.cpp settings_dialog.ui settings_dialog.cpp) +add_executable(AppImageLauncherSettings settings_main.cpp resources.qrc settings_dialog.ui settings_dialog.cpp) target_link_libraries(AppImageLauncherSettings shared) # set binary runtime rpath to make sure the libappimage.so built and installed by this project is going to be used diff --git a/src/ui/settings_main.cpp b/src/ui/settings_main.cpp index a364ba68..f50d563a 100644 --- a/src/ui/settings_main.cpp +++ b/src/ui/settings_main.cpp @@ -7,6 +7,8 @@ int main(int argc, char** argv) { QApplication app(argc, argv); + QApplication::setApplicationDisplayName("AppImageLauncher Settings"); + QApplication::setWindowIcon(QIcon(":/AppImageLauncher.svg")); TranslationManager mgr(app);