mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-07 01:22:49 +02:00
Revert Check for changed() when updating proxy settings
This commit is contained in:
parent
e1441ae497
commit
7e8154189b
@ -270,6 +270,9 @@ SettingsDialog::saveSettings()
|
||||
s->applyChanges();
|
||||
s->sync();
|
||||
|
||||
if ( m_restartRequired )
|
||||
QMessageBox::information( 0, tr( "Information" ), tr( "Some changed settings will not take effect until Tomahawk is restarted" ) );
|
||||
|
||||
TomahawkUtils::NetworkProxyFactory* proxyFactory = TomahawkUtils::proxyFactory();
|
||||
if ( !m_advancedWidgetUi->enableProxyCheckBox->isChecked() )
|
||||
{
|
||||
@ -288,8 +291,6 @@ SettingsDialog::saveSettings()
|
||||
}
|
||||
}
|
||||
|
||||
if ( m_restartRequired || proxyFactory->changed() )
|
||||
QMessageBox::information( 0, tr( "Information" ), tr( "Some changed settings will not take effect until Tomahawk is restarted" ) );
|
||||
}
|
||||
|
||||
|
||||
@ -364,7 +365,6 @@ void
|
||||
SettingsDialog::toggleProxyEnabled()
|
||||
{
|
||||
m_advancedWidgetUi->proxyButton->setEnabled( m_advancedWidgetUi->enableProxyCheckBox->isChecked() );
|
||||
m_restartRequired = (TomahawkSettings::instance()->proxyType() == QNetworkProxy::Socks5Proxy) != m_advancedWidgetUi->proxyButton->isEnabled();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user