summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-09-17 14:29:15 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-09-17 15:01:45 +0200
commit973a5536a0c2db9406f9092647f27df7b400d97c (patch)
treec3fab9e3f3a2dc9d412193b5e54c241b05f44e32
parent069664aaa8fef4b4fb455f0a120851b220d39842 (diff)
options/bundle: konst korrektness
-rw-r--r--options/bundle.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/options/bundle.hpp b/options/bundle.hpp
index 27d1208a..8af25433 100644
--- a/options/bundle.hpp
+++ b/options/bundle.hpp
@@ -45,6 +45,8 @@ private:
group transient;
bundle(const bundle&) = delete;
+ bundle(bundle&&) = delete;
+ bundle& operator=(bundle&&) = delete;
bundle& operator=(const bundle&) = delete;
QMutex* get_mtx() const override;
@@ -55,7 +57,7 @@ signals:
public:
bundle(const QString& group_name);
~bundle() override;
- QString name() { return group_name; }
+ QString name() const { return group_name; }
void reload(std::shared_ptr<QSettings> settings = group::ini_file());
void store_kv(const QString& name, const QVariant& datum);
bool contains(const QString& name) const;