summary refs log tree commit diff
path: root/src/ui/ThemeManager.cc
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-17 16:37:25 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-17 16:37:25 +0300
commit0e814da91c8e041897a4c3f7e6e9234bbc7c6f7a (patch)
tree21f655d30630fe77ba48d07e4b357e2b6c6a5730 /src/ui/ThemeManager.cc
parentMerge pull request #372 from bebehei/notification (diff)
downloadnheko-0e814da91c8e041897a4c3f7e6e9234bbc7c6f7a.tar.xz
Move all files under src/
Diffstat (limited to 'src/ui/ThemeManager.cc')
-rw-r--r--src/ui/ThemeManager.cc19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/ui/ThemeManager.cc b/src/ui/ThemeManager.cc
deleted file mode 100644

index 7baed1f3..00000000 --- a/src/ui/ThemeManager.cc +++ /dev/null
@@ -1,19 +0,0 @@ -#include <QFontDatabase> - -#include "ThemeManager.h" - -ThemeManager::ThemeManager() { setTheme(new Theme); } - -void -ThemeManager::setTheme(Theme *theme) -{ - theme_ = theme; - theme_->setParent(this); -} - -QColor -ThemeManager::themeColor(const QString &key) const -{ - Q_ASSERT(theme_); - return theme_->getColor(key); -}