summaryrefslogtreecommitdiffhomepage
path: root/options/bundle.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-09-09 15:18:26 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-09-09 18:33:30 +0200
commit078059915bdb39726924ef5bfed159c8dcf2af6c (patch)
tree4772c907c2a4e0c4ab2df0b3b4464e1f848902c9 /options/bundle.hpp
parent96687dbf37b2aa2fc05a85a312ab573e64923879 (diff)
options/{bundle,group}: don't create QSettings all the time
Diffstat (limited to 'options/bundle.hpp')
-rw-r--r--options/bundle.hpp2
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();