Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
Fixed program icon issue
Browse files Browse the repository at this point in the history
Fixed an issue where the program icon wasn't added as a program icon,
only as a title bar icon.
  • Loading branch information
ibiixie committed Oct 13, 2020
1 parent c8a718b commit f673a7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 2 additions & 0 deletions LFEditor.pro
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
QT += core gui

RC_ICONS = res/images/lfeditor.ico

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11
Expand Down
8 changes: 3 additions & 5 deletions src/ui/editorwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
<string>LFEditor</string>
</property>
<property name="windowIcon">
<iconset resource="../../res/resources.qrc">
<normaloff>:/images/images/lfeditor.ico</normaloff>:/images/images/lfeditor.ico</iconset>
<iconset>
<normaloff>../../res/images/lfeditor.ico</normaloff>../../res/images/lfeditor.ico</iconset>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout" name="verticalLayout">
Expand Down Expand Up @@ -198,8 +198,6 @@
</property>
</action>
</widget>
<resources>
<include location="../../res/resources.qrc"/>
</resources>
<resources/>
<connections/>
</ui>

0 comments on commit f673a7f

Please sign in to comment.