X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcoredccconfig.cpp;h=80531389b58717e0f6a72869a5e6b8c20b14e9c9;hb=2c4cc10cfb540da2b33c2a2dba8e012b2b594395;hp=077bb68a7bb7e5e7fd68df1e556696c244e19b41;hpb=fcacaaf16551524c7ebb6114254d005274cc3d63;p=quassel.git diff --git a/src/core/coredccconfig.cpp b/src/core/coredccconfig.cpp index 077bb68a..80531389 100644 --- a/src/core/coredccconfig.cpp +++ b/src/core/coredccconfig.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2019 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -25,7 +25,7 @@ constexpr auto settingsKey = "DccConfig"; -CoreDccConfig::CoreDccConfig(CoreSession *session) +CoreDccConfig::CoreDccConfig(CoreSession* session) : DccConfig(session) , _coreSession{session} { @@ -39,7 +39,6 @@ CoreDccConfig::CoreDccConfig(CoreSession *session) connect(this, &SyncableObject::updatedRemotely, this, &CoreDccConfig::save); } - void CoreDccConfig::save() { Core::setUserSetting(_coreSession->user(), settingsKey, toVariantMap());