X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fcoreconnection.cpp;h=3c62fca68f589d7813a776d5abd3a713f87ec31e;hp=e41ccdc65273870c6424fc74ed8f4e78ca5908b8;hb=2c8434f74c68194d56f2084f637419123e61d18b;hpb=61f33c7895e324f6e95034d86897ad2e963653f1 diff --git a/src/client/coreconnection.cpp b/src/client/coreconnection.cpp index e41ccdc6..3c62fca6 100644 --- a/src/client/coreconnection.cpp +++ b/src/client/coreconnection.cpp @@ -54,9 +54,9 @@ void CoreConnection::init() connect(_qNetworkConfigurationManager.data(), &QNetworkConfigurationManager::onlineStateChanged, this, &CoreConnection::onlineStateChanged); CoreConnectionSettings s; - s.initAndNotify("PingTimeoutInterval", this, SLOT(pingTimeoutIntervalChanged(QVariant)), 60); - s.initAndNotify("ReconnectInterval", this, SLOT(reconnectIntervalChanged(QVariant)), 60); - s.notify("NetworkDetectionMode", this, SLOT(networkDetectionModeChanged(QVariant))); + s.initAndNotify("PingTimeoutInterval", this, &CoreConnection::pingTimeoutIntervalChanged, 60); + s.initAndNotify("ReconnectInterval", this, &CoreConnection::reconnectIntervalChanged, 60); + s.notify("NetworkDetectionMode", this, &CoreConnection::networkDetectionModeChanged); networkDetectionModeChanged(s.networkDetectionMode()); }