summaryrefslogtreecommitdiffhomepage
path: root/options/bundle.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-03-02 00:26:14 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-03-02 00:26:14 +0100
commit19d2b71aa8f385fee0c4cd3aa9fdf4f2f3279749 (patch)
tree632d75ea7d1663ff003a312989704e1d2fc6e8df /options/bundle.hpp
parentf5ce4029d6f5c0659eba8dedbd5238527867460b (diff)
options: consistently use rvalue references
Diffstat (limited to 'options/bundle.hpp')
-rw-r--r--options/bundle.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/options/bundle.hpp b/options/bundle.hpp
index c1bb716d..dec7c340 100644
--- a/options/bundle.hpp
+++ b/options/bundle.hpp
@@ -69,6 +69,7 @@ public:
explicit bundle(const QString& group_name);
~bundle() override;
+ void store_kv(const QString& name, QVariant&& datum);
void store_kv(const QString& name, const QVariant& datum);
bool contains(const QString& name) const;
@@ -90,8 +91,7 @@ struct OTR_OPTIONS_EXPORT bundler final
static void notify();
static void reload_no_notify();
-
- void reload();
+ static void reload();
private:
QMutex implsgl_mtx { QMutex::Recursive };