diff options
Diffstat (limited to 'options/group.hpp')
-rw-r--r-- | options/group.hpp | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/options/group.hpp b/options/group.hpp index ef9f1121..76bb939b 100644 --- a/options/group.hpp +++ b/options/group.hpp @@ -4,21 +4,16 @@ #include "compat/base-path.hpp" #include "compat/library-path.hpp" -#include "compat/qhash.hpp" #include "compat/macros.hpp" +#include "compat/qhash.hpp" #include "export.hpp" #include <optional> #include <unordered_map> -#include <QHash> #include <QString> -#include <QMutex> -#include <QFile> -#include <QDir> -#include <QStandardPaths> #include <QVariant> -#include <QSettings> + #include <QDebug> // XXX TODO remove qsettings usage -sh 20180624 @@ -36,12 +31,6 @@ namespace options::detail { void put(const QString& s, const QVariant& d); bool contains(const QString& s) const; - template<typename t> - cc_noinline t get(const QString& k) const - { - return get_variant(k).value<t>(); - } - cc_noinline QVariant get_variant(const QString& name) const; }; } // ns options::detail |