summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/options.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-01-05 14:35:18 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-01-05 14:35:18 +0100
commit8b478090250cd0b1b3195ea42eb9feccca99f077 (patch)
tree8c39edb42cb2e00334dbbbbeedbf675585b846a4 /facetracknoir/options.h
parent8f70d4c8eeaa6a9fbdb88ee85ebc82dacda86162 (diff)
remove unused member variable
Diffstat (limited to 'facetracknoir/options.h')
-rw-r--r--facetracknoir/options.h4
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)
{