From 1be7d573326570d63e55e36235537ed2b1831ae1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 10 Apr 2016 17:01:24 +0200 Subject: NOISSUE re/move some dead code and unused build system parts --- application/handlers/IconResourceHandler.h | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 application/handlers/IconResourceHandler.h (limited to 'application/handlers/IconResourceHandler.h') diff --git a/application/handlers/IconResourceHandler.h b/application/handlers/IconResourceHandler.h deleted file mode 100644 index 0cc4de4f..00000000 --- a/application/handlers/IconResourceHandler.h +++ /dev/null @@ -1,23 +0,0 @@ -#pragma once - -#include -#include - -class IconResourceHandler : public ResourceHandler -{ -public: - explicit IconResourceHandler(const QString &key); - - /// Sets the current theme and notifies all IconResourceHandlers of the change - static void setTheme(const QString &theme); - -private: - // we need to keep track of all IconResourceHandlers so that we can update them if the theme changes - void init(std::shared_ptr &ptr) override; - static QList> m_iconHandlers; - - QString m_key; - - // the workhorse, returns QVariantMap (filename => size) for m_key/m_theme - QVariant get() const; -}; -- cgit v1.2.3