Skip to content

Commit

Permalink
Connect resource file to consumers
Browse files Browse the repository at this point in the history
I realized that, while it won't be an issue at runtime because we know 
the compiled resources will be loaded, it still makes sense to connect 
resources used in the ui files to the resource file itself. If nothing 
else, so that the resources are visible in Qt Creator / Designer.
  • Loading branch information
ferdnyc committed Jul 20, 2019
1 parent fc9a87f commit de4caec
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions src/windows/ui/about.ui
Expand Up @@ -23,7 +23,7 @@
<string>About OpenShot</string>
</property>
<property name="windowIcon">
<iconset>
<iconset resource="../../images/openshot.qrc">
<normaloff>:/openshot.svg</normaloff>:/openshot.svg</iconset>
</property>
<property name="locale">
Expand All @@ -41,7 +41,7 @@
</sizepolicy>
</property>
<property name="pixmap">
<pixmap>:/about/AboutLogo.png</pixmap>
<pixmap resource="../../images/openshot.qrc">:/about/AboutLogo.png</pixmap>
</property>
</widget>
</item>
Expand Down
2 changes: 1 addition & 1 deletion src/windows/ui/add-to-timeline.ui
Expand Up @@ -14,7 +14,7 @@
<string>Add To Timeline</string>
</property>
<property name="windowIcon">
<iconset>
<iconset resource="../../images/openshot.qrc">
<normaloff>:/openshot.svg</normaloff>:/openshot.svg</iconset>
</property>
<property name="locale">
Expand Down
2 changes: 1 addition & 1 deletion src/windows/ui/animated-title.ui
Expand Up @@ -14,7 +14,7 @@
<string>Animated Titles</string>
</property>
<property name="windowIcon">
<iconset>
<iconset resource="../../images/openshot.qrc">
<normaloff>:/openshot.svg</normaloff>:/openshot.svg</iconset>
</property>
<property name="autoFillBackground">
Expand Down
2 changes: 1 addition & 1 deletion src/windows/ui/animation.ui
Expand Up @@ -14,7 +14,7 @@
<string>Animation</string>
</property>
<property name="windowIcon">
<iconset>
<iconset resource="../../images/openshot.qrc">
<normaloff>:/openshot.svg</normaloff>:/openshot.svg</iconset>
</property>
<property name="autoFillBackground">
Expand Down
2 changes: 1 addition & 1 deletion src/windows/ui/changelog.ui
Expand Up @@ -14,7 +14,7 @@
<string>Changelog</string>
</property>
<property name="windowIcon">
<iconset>
<iconset resource="../../images/openshot.qrc">
<normaloff>:/openshot.svg</normaloff>:/openshot.svg</iconset>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
Expand Down
2 changes: 1 addition & 1 deletion src/windows/ui/credits.ui
Expand Up @@ -14,7 +14,7 @@
<string>Credits</string>
</property>
<property name="windowIcon">
<iconset>
<iconset resource="../../images/openshot.qrc">
<normaloff>:/openshot.svg</normaloff>:/openshot.svg</iconset>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
Expand Down
2 changes: 1 addition & 1 deletion src/windows/ui/cutting.ui
Expand Up @@ -14,7 +14,7 @@
<string>Split Clip</string>
</property>
<property name="windowIcon">
<iconset>
<iconset resource="../../images/openshot.qrc">
<normaloff>:/openshot.svg</normaloff>:/openshot.svg</iconset>
</property>
<property name="autoFillBackground">
Expand Down
2 changes: 1 addition & 1 deletion src/windows/ui/export.ui
Expand Up @@ -20,7 +20,7 @@
<string>Export Video</string>
</property>
<property name="windowIcon">
<iconset>
<iconset resource="../../images/openshot.qrc">
<normaloff>:/openshot.svg</normaloff>:/openshot.svg</iconset>
</property>
<property name="autoFillBackground">
Expand Down
2 changes: 1 addition & 1 deletion src/windows/ui/file-properties.ui
Expand Up @@ -20,7 +20,7 @@
<string>File Properties</string>
</property>
<property name="windowIcon">
<iconset>
<iconset resource="../../images/openshot.qrc">
<normaloff>:/openshot.svg</normaloff>:/openshot.svg</iconset>
</property>
<property name="autoFillBackground">
Expand Down
2 changes: 1 addition & 1 deletion src/windows/ui/license.ui
Expand Up @@ -14,7 +14,7 @@
<string>License</string>
</property>
<property name="windowIcon">
<iconset>
<iconset resource="../../images/openshot.qrc">
<normaloff>:/openshot.svg</normaloff>:/openshot.svg</iconset>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
Expand Down
2 changes: 1 addition & 1 deletion src/windows/ui/main-window.ui
Expand Up @@ -23,7 +23,7 @@
<string>OpenShot Video Editor</string>
</property>
<property name="windowIcon">
<iconset>
<iconset resource="../../images/openshot.qrc">
<normaloff>:/openshot.svg</normaloff>:/openshot.svg</iconset>
</property>
<property name="documentMode">
Expand Down
2 changes: 1 addition & 1 deletion src/windows/ui/title-editor.ui
Expand Up @@ -14,7 +14,7 @@
<string>Titles</string>
</property>
<property name="windowIcon">
<iconset>
<iconset resource="../../images/openshot.qrc">
<normaloff>:/openshot.svg</normaloff>:/openshot.svg</iconset>
</property>
<property name="autoFillBackground">
Expand Down

0 comments on commit de4caec

Please sign in to comment.