Fix path of resource files

This commit is contained in:
Martchus 2017-04-23 13:57:23 +02:00
parent 43691cf3c4
commit aaf25f4cc3
3 changed files with 34 additions and 33 deletions

View File

@ -75,7 +75,7 @@
<string>Add secondary instance</string> <string>Add secondary instance</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset theme="list-add" resource="../resources/icons.qrc"> <iconset theme="list-add" resource="../resources/syncthingtrayicons.qrc">
<normaloff>:/icons/hicolor/scalable/actions/list-add.svg</normaloff>:/icons/hicolor/scalable/actions/list-add.svg</iconset> <normaloff>:/icons/hicolor/scalable/actions/list-add.svg</normaloff>:/icons/hicolor/scalable/actions/list-add.svg</iconset>
</property> </property>
</widget> </widget>
@ -92,7 +92,7 @@
<string>Remove currently selected secondary instance</string> <string>Remove currently selected secondary instance</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset theme="list-remove" resource="../resources/icons.qrc"> <iconset theme="list-remove" resource="../resources/syncthingtrayicons.qrc">
<normaloff>:/icons/hicolor/scalable/actions/list-remove.svg</normaloff>:/icons/hicolor/scalable/actions/list-remove.svg</iconset> <normaloff>:/icons/hicolor/scalable/actions/list-remove.svg</normaloff>:/icons/hicolor/scalable/actions/list-remove.svg</iconset>
</property> </property>
</widget> </widget>
@ -232,7 +232,7 @@
<string>Insert values from local Syncthing configuration</string> <string>Insert values from local Syncthing configuration</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset theme="edit-paste" resource="../resources/icons.qrc"> <iconset theme="edit-paste" resource="../resources/syncthingtrayicons.qrc">
<normaloff>:/icons/hicolor/scalable/actions/edit-paste.svg</normaloff>:/icons/hicolor/scalable/actions/edit-paste.svg</iconset> <normaloff>:/icons/hicolor/scalable/actions/edit-paste.svg</normaloff>:/icons/hicolor/scalable/actions/edit-paste.svg</iconset>
</property> </property>
</widget> </widget>
@ -408,7 +408,7 @@
<string>Apply connection settings and try to reconnect with the currently selected config</string> <string>Apply connection settings and try to reconnect with the currently selected config</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset theme="view-refresh" resource="../resources/icons.qrc"> <iconset theme="view-refresh" resource="../resources/syncthingtrayicons.qrc">
<normaloff>:/icons/hicolor/scalable/actions/view-refresh.svg</normaloff>:/icons/hicolor/scalable/actions/view-refresh.svg</iconset> <normaloff>:/icons/hicolor/scalable/actions/view-refresh.svg</normaloff>:/icons/hicolor/scalable/actions/view-refresh.svg</iconset>
</property> </property>
</widget> </widget>
@ -416,20 +416,20 @@
</layout> </layout>
</widget> </widget>
<customwidgets> <customwidgets>
<customwidget>
<class>Widgets::PathSelection</class>
<extends>QWidget</extends>
<header>widgets/pathselection.h</header>
<container>1</container>
</customwidget>
<customwidget> <customwidget>
<class>Widgets::ClearLineEdit</class> <class>Widgets::ClearLineEdit</class>
<extends>QLineEdit</extends> <extends>QLineEdit</extends>
<header location="global">qtutilities/widgets/clearlineedit.h</header> <header location="global">qtutilities/widgets/clearlineedit.h</header>
</customwidget> </customwidget>
<customwidget>
<class>Widgets::PathSelection</class>
<extends>QWidget</extends>
<header location="global">qtutilities/widgets/pathselection.h</header>
<container>1</container>
</customwidget>
</customwidgets> </customwidgets>
<resources> <resources>
<include location="../resources/icons.qrc"/> <include location="../resources/syncthingtrayicons.qrc"/>
</resources> </resources>
<connections> <connections>
<connection> <connection>

View File

@ -103,7 +103,7 @@
<string>Apply and launch now</string> <string>Apply and launch now</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset theme="view-refresh" resource="../resources/icons.qrc"> <iconset theme="view-refresh" resource="../resources/syncthingtrayicons.qrc">
<normaloff>:/icons/hicolor/scalable/actions/view-refresh.svg</normaloff>:/icons/hicolor/scalable/actions/view-refresh.svg</iconset> <normaloff>:/icons/hicolor/scalable/actions/view-refresh.svg</normaloff>:/icons/hicolor/scalable/actions/view-refresh.svg</iconset>
</property> </property>
</widget> </widget>
@ -120,7 +120,7 @@
<string>Stop launched instance</string> <string>Stop launched instance</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset theme="process-stop" resource="../resources/icons.qrc"> <iconset theme="process-stop" resource="../resources/syncthingtrayicons.qrc">
<normaloff>:/icons/hicolor/scalable/actions/process-stop.svg</normaloff>:/icons/hicolor/scalable/actions/process-stop.svg</iconset> <normaloff>:/icons/hicolor/scalable/actions/process-stop.svg</normaloff>:/icons/hicolor/scalable/actions/process-stop.svg</iconset>
</property> </property>
</widget> </widget>
@ -153,17 +153,17 @@
</layout> </layout>
</widget> </widget>
<customwidgets> <customwidgets>
<customwidget>
<class>Widgets::PathSelection</class>
<extends>QWidget</extends>
<header>widgets/pathselection.h</header>
<container>1</container>
</customwidget>
<customwidget> <customwidget>
<class>Widgets::ClearLineEdit</class> <class>Widgets::ClearLineEdit</class>
<extends>QLineEdit</extends> <extends>QLineEdit</extends>
<header location="global">qtutilities/widgets/clearlineedit.h</header> <header location="global">qtutilities/widgets/clearlineedit.h</header>
</customwidget> </customwidget>
<customwidget>
<class>Widgets::PathSelection</class>
<extends>QWidget</extends>
<header location="global">qtutilities/widgets/pathselection.h</header>
<container>1</container>
</customwidget>
<customwidget> <customwidget>
<class>Widgets::ClearPlainTextEdit</class> <class>Widgets::ClearPlainTextEdit</class>
<extends>QPlainTextEdit</extends> <extends>QPlainTextEdit</extends>
@ -171,7 +171,7 @@
</customwidget> </customwidget>
</customwidgets> </customwidgets>
<resources> <resources>
<include location="../resources/icons.qrc"/> <include location="../resources/syncthingtrayicons.qrc"/>
</resources> </resources>
<connections> <connections>
<connection> <connection>

View File

@ -6,7 +6,7 @@
<string>Syncthing Tray</string> <string>Syncthing Tray</string>
</property> </property>
<property name="windowIcon"> <property name="windowIcon">
<iconset resource="../resources/icons.qrc"> <iconset resource="../resources/syncthingtrayicons.qrc">
<normaloff>:/icons/hicolor/scalable/app/syncthingtray.svg</normaloff>:/icons/hicolor/scalable/app/syncthingtray.svg</iconset> <normaloff>:/icons/hicolor/scalable/app/syncthingtray.svg</normaloff>:/icons/hicolor/scalable/app/syncthingtray.svg</iconset>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
@ -58,7 +58,7 @@
<string>Close</string> <string>Close</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset theme="window-close" resource="../resources/icons.qrc"> <iconset theme="window-close" resource="../resources/syncthingtrayicons.qrc">
<normaloff>:/icons/hicolor/scalable/actions/window-close.svg</normaloff>:/icons/hicolor/scalable/actions/window-close.svg</iconset> <normaloff>:/icons/hicolor/scalable/actions/window-close.svg</normaloff>:/icons/hicolor/scalable/actions/window-close.svg</iconset>
</property> </property>
<property name="flat"> <property name="flat">
@ -72,7 +72,7 @@
<string>About</string> <string>About</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset theme="help-about" resource="../resources/icons.qrc"> <iconset theme="help-about" resource="../resources/syncthingtrayicons.qrc">
<normaloff>:/icons/hicolor/scalable/actions/help-about.svg</normaloff>:/icons/hicolor/scalable/actions/help-about.svg</iconset> <normaloff>:/icons/hicolor/scalable/actions/help-about.svg</normaloff>:/icons/hicolor/scalable/actions/help-about.svg</iconset>
</property> </property>
<property name="flat"> <property name="flat">
@ -99,7 +99,7 @@
<string>Connect</string> <string>Connect</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset theme="view-refresh" resource="../resources/icons.qrc"> <iconset theme="view-refresh" resource="../resources/syncthingtrayicons.qrc">
<normaloff>:/icons/hicolor/scalable/actions/view-refresh.svg</normaloff>:/icons/hicolor/scalable/actions/view-refresh.svg</iconset> <normaloff>:/icons/hicolor/scalable/actions/view-refresh.svg</normaloff>:/icons/hicolor/scalable/actions/view-refresh.svg</iconset>
</property> </property>
<property name="flat"> <property name="flat">
@ -113,7 +113,7 @@
<string>Start</string> <string>Start</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset theme="system-run" resource="../resources/icons.qrc"> <iconset theme="system-run" resource="../resources/syncthingtrayicons.qrc">
<normaloff>:/icons/hicolor/scalable/apps/system-run.svg</normaloff>:/icons/hicolor/scalable/apps/system-run.svg</iconset> <normaloff>:/icons/hicolor/scalable/apps/system-run.svg</normaloff>:/icons/hicolor/scalable/apps/system-run.svg</iconset>
</property> </property>
<property name="flat"> <property name="flat">
@ -140,7 +140,7 @@
<string>Settings</string> <string>Settings</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset theme="preferences-other" resource="../resources/icons.qrc"> <iconset theme="preferences-other" resource="../resources/syncthingtrayicons.qrc">
<normaloff>:/icons/hicolor/scalable/actions/application-menu.svg</normaloff>:/icons/hicolor/scalable/actions/application-menu.svg</iconset> <normaloff>:/icons/hicolor/scalable/actions/application-menu.svg</normaloff>:/icons/hicolor/scalable/actions/application-menu.svg</iconset>
</property> </property>
<property name="flat"> <property name="flat">
@ -154,7 +154,7 @@
<string>Web UI</string> <string>Web UI</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset theme="internet-web-browser" resource="../resources/icons.qrc"> <iconset theme="internet-web-browser" resource="../resources/syncthingtrayicons.qrc">
<normaloff>:/icons/hicolor/scalable/apps/internet-web-browser.svg</normaloff>:/icons/hicolor/scalable/apps/internet-web-browser.svg</iconset> <normaloff>:/icons/hicolor/scalable/apps/internet-web-browser.svg</normaloff>:/icons/hicolor/scalable/apps/internet-web-browser.svg</iconset>
</property> </property>
<property name="flat"> <property name="flat">
@ -346,7 +346,7 @@ For &lt;i&gt;all&lt;/i&gt; notifications, checkout the log</string>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="icon"> <property name="icon">
<iconset theme="network-connect" resource="../resources/icons.qrc"> <iconset theme="network-connect" resource="../resources/syncthingtrayicons.qrc">
<normaloff>:/icons/hicolor/scalable/actions/network-connect.svg</normaloff>:/icons/hicolor/scalable/actions/network-connect.svg</iconset> <normaloff>:/icons/hicolor/scalable/actions/network-connect.svg</normaloff>:/icons/hicolor/scalable/actions/network-connect.svg</iconset>
</property> </property>
<property name="flat"> <property name="flat">
@ -372,7 +372,7 @@ For &lt;i&gt;all&lt;/i&gt; notifications, checkout the log</string>
</property> </property>
<widget class="QWidget" name="dirsTab"> <widget class="QWidget" name="dirsTab">
<attribute name="icon"> <attribute name="icon">
<iconset theme="folder" resource="../resources/icons.qrc"> <iconset theme="folder" resource="../resources/syncthingtrayicons.qrc">
<normaloff>:/icons/hicolor/scalable/places/folder.svg</normaloff>:/icons/hicolor/scalable/places/folder.svg</iconset> <normaloff>:/icons/hicolor/scalable/places/folder.svg</normaloff>:/icons/hicolor/scalable/places/folder.svg</iconset>
</attribute> </attribute>
<attribute name="title"> <attribute name="title">
@ -401,7 +401,7 @@ For &lt;i&gt;all&lt;/i&gt; notifications, checkout the log</string>
</widget> </widget>
<widget class="QWidget" name="devsTab"> <widget class="QWidget" name="devsTab">
<attribute name="icon"> <attribute name="icon">
<iconset theme="network-server" resource="../resources/icons.qrc"> <iconset theme="network-server" resource="../resources/syncthingtrayicons.qrc">
<normaloff>:/icons/hicolor/scalable/places/network-workgroup.svg</normaloff>:/icons/hicolor/scalable/places/network-workgroup.svg</iconset> <normaloff>:/icons/hicolor/scalable/places/network-workgroup.svg</normaloff>:/icons/hicolor/scalable/places/network-workgroup.svg</iconset>
</attribute> </attribute>
<attribute name="title"> <attribute name="title">
@ -430,7 +430,7 @@ For &lt;i&gt;all&lt;/i&gt; notifications, checkout the log</string>
</widget> </widget>
<widget class="QWidget" name="downloadsTab"> <widget class="QWidget" name="downloadsTab">
<attribute name="icon"> <attribute name="icon">
<iconset theme="folder-download" resource="../resources/icons.qrc"> <iconset theme="folder-download" resource="../resources/syncthingtrayicons.qrc">
<normaloff>:/icons/hicolor/scalable/places/folder-download.svg</normaloff>:/icons/hicolor/scalable/places/folder-download.svg</iconset> <normaloff>:/icons/hicolor/scalable/places/folder-download.svg</normaloff>:/icons/hicolor/scalable/places/folder-download.svg</iconset>
</attribute> </attribute>
<attribute name="title"> <attribute name="title">
@ -462,7 +462,7 @@ For &lt;i&gt;all&lt;/i&gt; notifications, checkout the log</string>
</layout> </layout>
<action name="actionShowNotifications"> <action name="actionShowNotifications">
<property name="icon"> <property name="icon">
<iconset theme="text-x-generic" resource="../resources/icons.qrc"> <iconset theme="text-x-generic" resource="../../model/resources/syncthingmodelicons.qrc">
<normaloff>:/icons/hicolor/scalable/mimetypes/text-x-generic.svg</normaloff>:/icons/hicolor/scalable/mimetypes/text-x-generic.svg</iconset> <normaloff>:/icons/hicolor/scalable/mimetypes/text-x-generic.svg</normaloff>:/icons/hicolor/scalable/mimetypes/text-x-generic.svg</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -498,7 +498,8 @@ For &lt;i&gt;all&lt;/i&gt; notifications, checkout the log</string>
</customwidget> </customwidget>
</customwidgets> </customwidgets>
<resources> <resources>
<include location="../resources/icons.qrc"/> <include location="../../model/resources/syncthingmodelicons.qrc"/>
<include location="../resources/syncthingtrayicons.qrc"/>
</resources> </resources>
<connections/> <connections/>
</ui> </ui>