aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/settings.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/settings.h b/lib/settings.h
index 5a097285..c45764a6 100644
--- a/lib/settings.h
+++ b/lib/settings.h
@@ -25,6 +25,7 @@
class QVariant;
namespace Quotient {
+
class Settings : public QSettings {
Q_OBJECT
public:
@@ -151,8 +152,9 @@ class AccountSettings : public SettingsGroup {
WRITE setEncryptionAccountPickle)
public:
template <typename... ArgTs>
- explicit AccountSettings(const QString& accountId, ArgTs... qsettingsArgs)
- : SettingsGroup("Accounts/" + accountId, qsettingsArgs...)
+ explicit AccountSettings(const QString& accountId, ArgTs&&... qsettingsArgs)
+ : SettingsGroup("Accounts/" + accountId,
+ std::forward<ArgTs>(qsettingsArgs)...)
{}
QString userId() const;