浏览代码

UI: Fix dock titlebar icons not loading

The icons had the wrong name in the qss files. The docks were missing
the icons on at least Linux. I have no idea why the dock icons still
worked on Windows though.
cg2121 3 年之前
父节点
当前提交
19d92a29a2
共有 5 个文件被更改,包括 10 次插入10 次删除
  1. 2 2
      UI/data/themes/Acri.qss
  2. 2 2
      UI/data/themes/Grey.qss
  3. 2 2
      UI/data/themes/Light.qss
  4. 2 2
      UI/data/themes/Rachni.qss
  5. 2 2
      UI/data/themes/Yami.qss

+ 2 - 2
UI/data/themes/Acri.qss

@@ -300,8 +300,8 @@ QDockWidget {
     font-size: 10.5pt;
     font-weight: bold;
 
-    titlebar-close-icon: url('./Dark/Close.svg');
-    titlebar-normal-icon: url('./Dark/Popout.svg');
+    titlebar-close-icon: url('./Dark/close.svg');
+    titlebar-normal-icon: url('./Dark/popout.svg');
 }
 
 QDockWidget::title {

+ 2 - 2
UI/data/themes/Grey.qss

@@ -300,8 +300,8 @@ QDockWidget {
     font-size: 10.5pt;
     font-weight: bold;
 
-    titlebar-close-icon: url('./Dark/Close.svg');
-    titlebar-normal-icon: url('./Dark/Popout.svg');
+    titlebar-close-icon: url('./Dark/close.svg');
+    titlebar-normal-icon: url('./Dark/popout.svg');
 }
 
 QDockWidget::title {

+ 2 - 2
UI/data/themes/Light.qss

@@ -300,8 +300,8 @@ QDockWidget {
     font-size: 10.5pt;
     font-weight: bold;
 
-    titlebar-close-icon: url('./Light/Close.svg');
-    titlebar-normal-icon: url('./Light/Popout.svg');
+    titlebar-close-icon: url('./Light/close.svg');
+    titlebar-normal-icon: url('./Light/popout.svg');
 }
 
 QDockWidget::title {

+ 2 - 2
UI/data/themes/Rachni.qss

@@ -302,8 +302,8 @@ QDockWidget {
     font-size: 10.5pt;
     font-weight: bold;
 
-    titlebar-close-icon: url('./Dark/Close.svg');
-    titlebar-normal-icon: url('./Dark/Popout.svg');
+    titlebar-close-icon: url('./Dark/close.svg');
+    titlebar-normal-icon: url('./Dark/popout.svg');
 }
 
 QDockWidget::title {

+ 2 - 2
UI/data/themes/Yami.qss

@@ -304,8 +304,8 @@ QDockWidget {
     font-size: 10.5pt;
     font-weight: bold;
 
-    titlebar-close-icon: url('./Dark/Close.svg');
-    titlebar-normal-icon: url('./Dark/Popout.svg');
+    titlebar-close-icon: url('./Dark/close.svg');
+    titlebar-normal-icon: url('./Dark/popout.svg');
 }
 
 QDockWidget::title {