diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-05 14:35:18 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-05 14:35:18 +0100 |
commit | 8b478090250cd0b1b3195ea42eb9feccca99f077 (patch) | |
tree | 8c39edb42cb2e00334dbbbbeedbf675585b846a4 /facetracknoir/options.h | |
parent | 8f70d4c8eeaa6a9fbdb88ee85ebc82dacda86162 (diff) |
remove unused member variable
Diffstat (limited to 'facetracknoir/options.h')
-rw-r--r-- | facetracknoir/options.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/facetracknoir/options.h b/facetracknoir/options.h index 7c5e57ef..057e97af 100644 --- a/facetracknoir/options.h +++ b/facetracknoir/options.h @@ -221,8 +221,6 @@ namespace options { template<typename T> class value : public base_value { - private: - T def; protected: QVariant operator=(const QVariant& datum) { auto foo = qcruft_to_t<T>(datum); @@ -233,7 +231,7 @@ namespace options { public: static constexpr const Qt::ConnectionType CONNTYPE = Qt::QueuedConnection; value(pbundle b, const QString& name, T def) : - base_value(b, name), def(def) + base_value(b, name) { if (!b->contains(name) || b->get<QVariant>(name).type() == QVariant::Invalid) { |