1
0
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:
Jeff Mitchell
2012-05-03 13:36:23 -04:00
parent b1210ea43f
commit 3b332d6d12
8 changed files with 268 additions and 324 deletions

View File

@@ -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;