Proxy support in Subsurface

Anton Lundin glance at acc.umu.se
Sat Jun 28 02:53:39 PDT 2014


On 26 June, 2014 - Sergey Starosek wrote:

> As requested in http://trac.hohndel.org/ticket/563 here is a set of patches
> that implements proxy support in Subsurface. Please review and let me know
> if these are correct.
> 
> Also look at patch #5 as there're several open questions.
> 
> Sergey
> 
> P.S. Some new icon is required for "Network" page under Preferences.

> --- a/qt-ui/preferences.h
> +++ b/qt-ui/preferences.h
> @@ -28,6 +28,7 @@ slots:
>  	void rememberPrefs();
>  	void gflowChanged(int gf);
>  	void gfhighChanged(int gf);
> +	void on_proxyType_changed(int idx);


A problem here with calling a slot on_bla_bla is that the Qt
autoconnector (or whats its called) tries to auto-connect that function.

This cases a warning on startup:
QMetaObject::connectSlotsByName: No matching signal for on_proxyType_changed(int)

Either rename the function to something thats not on_bla_bla or rename
it so the auto-connect does the right thing<tm>.

//Anton

-- 
Anton Lundin	+46702-161604


More information about the subsurface mailing list