Skip to content

Commit 1ec9ef4

Browse files
committed
Added code to set main window icon.
1 parent 7f64069 commit 1ec9ef4

File tree

3 files changed

+2
-0
lines changed

3 files changed

+2
-0
lines changed

images.qrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,6 @@
2828
<file>resources/crop_icon.png</file>
2929
<file>translations/ser_player_de.qm</file>
3030
<file>translations/ser_player_es.qm</file>
31+
<file>resources/main_icon.png</file>
3132
</qresource>
3233
</RCC>

resources/main_icon.png

19.4 KB
Loading

src/application.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ c_application::c_application(int &argc, char **argv)
3434
{
3535
setOrganizationName("PIPP");
3636
setApplicationName(tr("SER Player"));
37+
setWindowIcon(QIcon(":/res/resources/main_icon.png"));
3738
c_persistent_data::load(); // Load persistent data
3839

3940
// If user has specified a specific locale then use that one

0 commit comments

Comments
 (0)