mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
refs #297 Removed old network settings.
This commit is contained in:
@@ -42,12 +42,6 @@ namespace BlackGui
|
||||
CSettingsNetworkServersComponent::~CSettingsNetworkServersComponent()
|
||||
{ }
|
||||
|
||||
void CSettingsNetworkServersComponent::runtimeHasBeenSet()
|
||||
{
|
||||
Q_ASSERT_X(this->getIContextSettings(), Q_FUNC_INFO, "Missing settings");
|
||||
this->connect(this->getIContextSettings(), &IContextSettings::changedSettings, this, &CSettingsNetworkServersComponent::ps_changedSettings);
|
||||
}
|
||||
|
||||
void CSettingsNetworkServersComponent::reloadSettings()
|
||||
{
|
||||
// update servers
|
||||
@@ -85,12 +79,5 @@ namespace BlackGui
|
||||
m_trafficNetworkServers.set(serverList);
|
||||
}
|
||||
|
||||
void CSettingsNetworkServersComponent::ps_changedSettings(uint typeValue)
|
||||
{
|
||||
IContextSettings::SettingsType type = static_cast<IContextSettings::SettingsType>(typeValue);
|
||||
Q_UNUSED(type);
|
||||
}
|
||||
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
@@ -38,10 +38,6 @@ namespace BlackGui
|
||||
//! Destructor
|
||||
~CSettingsNetworkServersComponent();
|
||||
|
||||
protected:
|
||||
//! \copydoc CRuntimeBasedComponent::runtimeHasBeenSet
|
||||
virtual void runtimeHasBeenSet() override;
|
||||
|
||||
public slots:
|
||||
//! Reload settings
|
||||
void reloadSettings();
|
||||
@@ -53,9 +49,6 @@ namespace BlackGui
|
||||
//! Alter traffic server
|
||||
void ps_alterTrafficServer();
|
||||
|
||||
//! Changed settings
|
||||
void ps_changedSettings(uint typeValue);
|
||||
|
||||
private:
|
||||
QScopedPointer<Ui::CSettingsNetworkServersComponent> ui;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user