mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 23:25:32 -04:00
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:
parent
3208fcaffe
commit
0538c45fef
3 changed files with 27 additions and 6 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue