Fixed compiler warnings.

Fixed tab order in config pages Directories and Server.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4972 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2012-02-20 00:24:40 +00:00
parent 3208fcaffe
commit 0538c45fef
3 changed files with 27 additions and 6 deletions

View file

@ -29,7 +29,7 @@ class ConfigPage : public QWidget
{
public:
/** Default Constructor */
ConfigPage(QWidget *parent = 0, Qt::WFlags flags = 0) : loaded(false) {}
ConfigPage(QWidget *parent = 0, Qt::WFlags flags = 0) : QWidget(parent, flags), loaded(false) {}
/** Pure virtual method. Subclassed pages load their config settings here. */
virtual void load() = 0;
@ -50,7 +50,7 @@ class ConfigPage : public QWidget
virtual QString pageName() const = 0 ;
protected:
virtual void showEvent(QShowEvent * event)
virtual void showEvent(QShowEvent * /*event*/)
{
if(!loaded)
{