mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-09-02 10:24:01 +02:00
Fix up the advanced settings dialog. Make it more clear whether
UPnP/Static/LAN-only is going to be used. Use a checkbox to enable proxy since we'll likely never support anything other than socks -- at least, not anytime soon. Group items in a nicer fashion.
This commit is contained in:
@@ -61,13 +61,8 @@ public:
|
||||
|
||||
void saveSettings();
|
||||
|
||||
private slots:
|
||||
void proxyTypeChangedSlot( int index );
|
||||
|
||||
private:
|
||||
Ui::ProxyDialog* ui;
|
||||
QHash<int,int> m_forwardMap;
|
||||
QHash<int,int> m_backwardMap;
|
||||
};
|
||||
|
||||
class SettingsDialog : public QDialog
|
||||
@@ -84,7 +79,8 @@ protected:
|
||||
private slots:
|
||||
void onRejected();
|
||||
|
||||
void toggleUpnp( bool preferStaticEnabled );
|
||||
void toggleRemoteMode();
|
||||
void toggleProxyEnabled();
|
||||
void showProxySettings();
|
||||
|
||||
void accountsFilterChanged( int );
|
||||
@@ -110,6 +106,7 @@ private:
|
||||
|
||||
ProxyDialog m_proxySettings;
|
||||
bool m_rejected;
|
||||
bool m_restartRequired;
|
||||
Tomahawk::Accounts::AccountModel* m_accountModel;
|
||||
Tomahawk::Accounts::AccountModelFilterProxy* m_accountProxy;
|
||||
AnimatedSpinner* m_sipSpinner;
|
||||
|
Reference in New Issue
Block a user