projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src: Yearly copyright bump
[quassel.git]
/
src
/
core
/
coredccconfig.cpp
diff --git
a/src/core/coredccconfig.cpp
b/src/core/coredccconfig.cpp
index
806bfcb
..
8053138
100644
(file)
--- a/
src/core/coredccconfig.cpp
+++ b/
src/core/coredccconfig.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-201
8
by the Quassel Project *
+ * Copyright (C) 2005-201
9
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-25,7
+25,7
@@
constexpr auto settingsKey = "DccConfig";
constexpr auto settingsKey = "DccConfig";
-CoreDccConfig::CoreDccConfig(CoreSession
*
session)
+CoreDccConfig::CoreDccConfig(CoreSession
*
session)
: DccConfig(session)
, _coreSession{session}
{
: DccConfig(session)
, _coreSession{session}
{
@@
-36,10
+36,9
@@
CoreDccConfig::CoreDccConfig(CoreSession *session)
// Otherwise, we just use the defaults initialized in the base class
// We store our settings whenever they change
// Otherwise, we just use the defaults initialized in the base class
// We store our settings whenever they change
- connect(this,
SIGNAL(updatedRemotely()), SLOT(save())
);
+ connect(this,
&SyncableObject::updatedRemotely, this, &CoreDccConfig::save
);
}
}
-
void CoreDccConfig::save()
{
Core::setUserSetting(_coreSession->user(), settingsKey, toVariantMap());
void CoreDccConfig::save()
{
Core::setUserSetting(_coreSession->user(), settingsKey, toVariantMap());