/***************************************************************************
- * 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 *
constexpr auto settingsKey = "DccConfig";
-CoreDccConfig::CoreDccConfig(CoreSession *session)
+CoreDccConfig::CoreDccConfig(CoreSession* session)
: DccConfig(session)
, _coreSession{session}
{
connect(this, &SyncableObject::updatedRemotely, this, &CoreDccConfig::save);
}
-
void CoreDccConfig::save()
{
Core::setUserSetting(_coreSession->user(), settingsKey, toVariantMap());