diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-09-27 16:13:47 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-09-27 16:13:47 +0200 |
commit | 529db49c496f4f668cec3f7c59d2d0ec78c50c9a (patch) | |
tree | b7622a54b4063f4dc735a8b4061525148377b6c9 /common/configstore.h | |
parent | 577c2c344079c1a87d3d93be5f957e5f2d935bff (diff) | |
download | sink-529db49c496f4f668cec3f7c59d2d0ec78c50c9a.tar.gz sink-529db49c496f4f668cec3f7c59d2d0ec78c50c9a.zip |
Don't hardcode the type property.
Diffstat (limited to 'common/configstore.h')
-rw-r--r-- | common/configstore.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/configstore.h b/common/configstore.h index 2f51f63..514bc01 100644 --- a/common/configstore.h +++ b/common/configstore.h | |||
@@ -30,7 +30,7 @@ | |||
30 | class SINK_EXPORT ConfigStore | 30 | class SINK_EXPORT ConfigStore |
31 | { | 31 | { |
32 | public: | 32 | public: |
33 | ConfigStore(const QByteArray &identifier); | 33 | ConfigStore(const QByteArray &identifier, const QByteArray &typeName); |
34 | 34 | ||
35 | /** | 35 | /** |
36 | * Returns all entries with their type. | 36 | * Returns all entries with their type. |
@@ -64,5 +64,6 @@ public: | |||
64 | 64 | ||
65 | private: | 65 | private: |
66 | QByteArray mIdentifier; | 66 | QByteArray mIdentifier; |
67 | QByteArray mTypeName; | ||
67 | QSharedPointer<QSettings> mConfig; | 68 | QSharedPointer<QSettings> mConfig; |
68 | }; | 69 | }; |