From 3d1f4fc757ac7b71202cae8f3ccd77f8aaa674a4 Mon Sep 17 00:00:00 2001 From: cg2121 Date: Thu, 22 Sep 2022 05:29:54 -0500 Subject: [PATCH] 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. --- UI/data/themes/Acri.qss | 4 ++-- UI/data/themes/Grey.qss | 4 ++-- UI/data/themes/Light.qss | 4 ++-- UI/data/themes/Rachni.qss | 4 ++-- UI/data/themes/Yami.qss | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/UI/data/themes/Acri.qss b/UI/data/themes/Acri.qss index 50f0ea79a..4e480a4ba 100644 --- a/UI/data/themes/Acri.qss +++ b/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 { diff --git a/UI/data/themes/Grey.qss b/UI/data/themes/Grey.qss index 34a6cdf1e..e5986648e 100644 --- a/UI/data/themes/Grey.qss +++ b/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 { diff --git a/UI/data/themes/Light.qss b/UI/data/themes/Light.qss index 1e6c8eb61..d8e7e968a 100644 --- a/UI/data/themes/Light.qss +++ b/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 { diff --git a/UI/data/themes/Rachni.qss b/UI/data/themes/Rachni.qss index 9f729a1e8..db7baac4f 100644 --- a/UI/data/themes/Rachni.qss +++ b/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 { diff --git a/UI/data/themes/Yami.qss b/UI/data/themes/Yami.qss index 1d1111731..dfadf0eed 100644 --- a/UI/data/themes/Yami.qss +++ b/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 {