Commit 4c72f54b authored by Raine Makelainen's avatar Raine Makelainen

[settings-vpn] Remove obsoleted signal from use. Contributes to JB#48087

parent 2b7582e4
......@@ -71,7 +71,6 @@ SettingsVpnModel::SettingsVpnModel(QObject* parent)
connect(manager, &VpnManager::connectionAdded, this, &SettingsVpnModel::connectionAdded, Qt::UniqueConnection);
connect(manager, &VpnManager::connectionRemoved, this, &SettingsVpnModel::connectionRemoved, Qt::UniqueConnection);
connect(manager, &VpnManager::connectionsRefreshed, this, &SettingsVpnModel::connectionsRefreshed, Qt::UniqueConnection);
connect(manager, &VpnManager::connectionsClearingAll, this, &SettingsVpnModel::connectionsClearingAll, Qt::UniqueConnection);
}
SettingsVpnModel::~SettingsVpnModel()
......@@ -321,16 +320,6 @@ void SettingsVpnModel::connectionRemoved(const QString &path)
}
}
void SettingsVpnModel::connectionsClearingAll()
{
qCDebug(lcVpnLog) << "VPN clearing all connections";
QVector<VpnConnection*> connections = vpnManager()->connections();
for (VpnConnection *conn : connections) {
disconnect(conn, 0, this, 0);
}
}
void SettingsVpnModel::connectionsRefreshed()
{
qCDebug(lcVpnLog) << "VPN connections refreshed";
......
......@@ -102,7 +102,6 @@ private:
private Q_SLOTS:
void connectionAdded(const QString &path);
void connectionRemoved(const QString &path);
void connectionsClearingAll();
void connectionsRefreshed();
void updatedConnectionPosition();
void connectedChanged();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment