Skip to content

Commit

Permalink
Show window icon in settings dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAssassin committed Nov 29, 2019
1 parent 49aaa4c commit 25c470d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/ui/settings_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 25c470d

Please sign in to comment.