summary refs log tree commit diff
path: root/src/MainWindow.cpp
diff options
context:
space:
mode:
authorredsky17 <joedonofry@gmail.com>2019-01-26 02:53:43 +0000
committerredsky17 <joedonofry@gmail.com>2019-01-26 02:55:07 +0000
commit2ba51c821e3893499ba08df1d7f442869933a286 (patch)
tree5588b915c8d16b120d7991dfae558d281bcbb999 /src/MainWindow.cpp
parentAdd unread notification color for user mentioned (diff)
downloadnheko-2ba51c821e3893499ba08df1d7f442869933a286.tar.xz
Update user colors to use Cache vs Utils
User colors are now stored in cache.  This is consistent
with other similar variables.  I think there's a bug
right now where it doesn't properly refresh colors
for the TimeLineItem when the theme is changed.
Diffstat (limited to '')
-rw-r--r--src/MainWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp

index 51b23fe2..2e062c0c 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp
@@ -113,7 +113,7 @@ MainWindow::MainWindow(QWidget *parent) connect( userSettingsPage_, SIGNAL(trayOptionChanged(bool)), trayIcon_, SLOT(setVisible(bool))); connect(userSettingsPage_, &UserSettingsPage::themeChanged, this, []() { - utils::clearAuthorColors(); + Cache::clearUserColors(); }); connect( userSettingsPage_, &UserSettingsPage::themeChanged, chat_page_, &ChatPage::themeChanged);