diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-03-20 12:20:43 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-21 13:27:00 -0700 |
commit | 98ef01b2e4c21f15ddf92059fa7fdd77acd883ec (patch) | |
tree | 48146f616ae4eb1b5a2388623483a0a7b1f85c91 /mobile-widgets/themeinterface.cpp | |
parent | f4f15039ac780903102eb101918329c6a488b9c3 (diff) | |
download | subsurface-98ef01b2e4c21f15ddf92059fa7fdd77acd883ec.tar.gz |
mobile UI: stop the use of dark icon theme
This was used very inconsistently and had more bugs than positive
impact.
See #2686
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/themeinterface.cpp')
-rw-r--r-- | mobile-widgets/themeinterface.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/mobile-widgets/themeinterface.cpp b/mobile-widgets/themeinterface.cpp index 3e8544bdb..e3ebbe5a2 100644 --- a/mobile-widgets/themeinterface.cpp +++ b/mobile-widgets/themeinterface.cpp @@ -25,7 +25,6 @@ double themeInterface::m_smallPointSize; double themeInterface::m_titlePointSize; QString themeInterface::m_currentTheme; -QString themeInterface::m_iconStyle; const QColor BLUE_BACKGROUND_COLOR = "#eff0f1"; const QColor BLUE_CONTRAST_ACCENT_COLOR = "#FF5722"; @@ -140,7 +139,6 @@ void themeInterface::update_theme() m_primaryTextColor = BLUE_PRIMARY_TEXT_COLOR; m_secondaryTextColor = BLUE_SECONDARY_TEXT_COLOR; m_textColor = BLUE_TEXT_COLOR; - m_iconStyle = ":/icons"; } else if (m_currentTheme == "Pink") { m_backgroundColor = PINK_BACKGROUND_COLOR; m_contrastAccentColor = PINK_CONTRAST_ACCENT_COLOR; @@ -154,7 +152,6 @@ void themeInterface::update_theme() m_primaryTextColor = PINK_PRIMARY_TEXT_COLOR; m_secondaryTextColor = PINK_SECONDARY_TEXT_COLOR; m_textColor = PINK_TEXT_COLOR; - m_iconStyle = ":/icons"; } else { m_backgroundColor = DARK_BACKGROUND_COLOR; m_contrastAccentColor = DARK_CONTRAST_ACCENT_COLOR; @@ -168,7 +165,6 @@ void themeInterface::update_theme() m_primaryTextColor = DARK_PRIMARY_TEXT_COLOR; m_secondaryTextColor = DARK_SECONDARY_TEXT_COLOR; m_textColor = DARK_TEXT_COLOR; - m_iconStyle = ":/icons-dark"; } emit instance()->backgroundColorChanged(m_backgroundColor); emit instance()->contrastAccentColorChanged(m_contrastAccentColor); @@ -182,5 +178,4 @@ void themeInterface::update_theme() emit instance()->primaryTextColorChanged(m_primaryTextColor); emit instance()->secondaryTextColorChanged(m_secondaryTextColor); emit instance()->textColorChanged(m_textColor); - emit instance()->iconStyleChanged(m_iconStyle); } |