mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-10 16:14:40 +02:00
Re-mark proxy changes as needing restart
This commit is contained in:
committed by
Michael Zanetti
parent
97da93afd5
commit
c21de815a6
@@ -249,6 +249,7 @@ SettingsDialog::SettingsDialog(QObject *parent )
|
||||
connect( m_advancedWidgetUi->staticIpRadioButton, SIGNAL( toggled(bool) ), SLOT( toggleRemoteMode() ) );
|
||||
connect( m_advancedWidgetUi->upnpRadioButton, SIGNAL( toggled(bool) ), SLOT( toggleRemoteMode() ) );
|
||||
connect( m_advancedWidgetUi->enableProxyCheckBox, SIGNAL( toggled(bool) ), SLOT( toggleProxyEnabled() ) );
|
||||
connect( m_advancedWidgetUi->enableProxyCheckBox, SIGNAL( toggled(bool) ), SLOT( requiresRestart() ) );
|
||||
|
||||
connect( m_dialog, SIGNAL( accepted() ), SLOT( saveSettings() ) );
|
||||
connect( m_dialog, SIGNAL( rejected() ), SLOT( onRejected() ) );
|
||||
@@ -359,8 +360,11 @@ SettingsDialog::showProxySettings()
|
||||
{
|
||||
m_proxySettings.exec();
|
||||
if ( m_proxySettings.result() == QDialog::Accepted )
|
||||
{
|
||||
requiresRestart();
|
||||
m_proxySettings.saveSettings();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user