X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcoredccconfig.cpp;h=55b4dbeeacb1398a11cc003d030ae7007006e8ce;hb=df38a9238d603ec8d2040619befa50980d994916;hp=077bb68a7bb7e5e7fd68df1e556696c244e19b41;hpb=fcacaaf16551524c7ebb6114254d005274cc3d63;p=quassel.git diff --git a/src/core/coredccconfig.cpp b/src/core/coredccconfig.cpp index 077bb68a..55b4dbee 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-2020 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());