diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-09 15:18:26 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-09 18:33:30 +0200 |
commit | 078059915bdb39726924ef5bfed159c8dcf2af6c (patch) | |
tree | 4772c907c2a4e0c4ab2df0b3b4464e1f848902c9 /options/bundle.hpp | |
parent | 96687dbf37b2aa2fc05a85a312ab573e64923879 (diff) |
options/{bundle,group}: don't create QSettings all the time
Diffstat (limited to 'options/bundle.hpp')
-rw-r--r-- | options/bundle.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/options/bundle.hpp b/options/bundle.hpp index 3d75a8de..b1c93b3d 100644 --- a/options/bundle.hpp +++ b/options/bundle.hpp @@ -56,7 +56,7 @@ public: bundle(const QString& group_name); ~bundle() override; QString name() { return group_name; } - void reload(); + 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; void save(); |