Fix compilation warning

This commit is contained in:
Olivier Goffart 2015-11-19 10:50:52 +01:00
parent 952a134745
commit d581550130

View file

@ -135,7 +135,7 @@ class ActivityWidget : public QWidget
public: public:
explicit ActivityWidget(QWidget *parent = 0); explicit ActivityWidget(QWidget *parent = 0);
~ActivityWidget(); ~ActivityWidget();
QSize sizeHint() const { return ownCloudGui::settingsDialogSize(); } QSize sizeHint() const Q_DECL_OVERRIDE { return ownCloudGui::settingsDialogSize(); }
void storeActivityList(QTextStream &ts); void storeActivityList(QTextStream &ts);
public slots: public slots:
@ -170,7 +170,7 @@ class ActivitySettings : public QWidget
public: public:
explicit ActivitySettings(QWidget *parent = 0); explicit ActivitySettings(QWidget *parent = 0);
~ActivitySettings(); ~ActivitySettings();
QSize sizeHint() const { return ownCloudGui::settingsDialogSize(); } QSize sizeHint() const Q_DECL_OVERRIDE { return ownCloudGui::settingsDialogSize(); }
public slots: public slots:
void slotRefresh( AccountState* ptr ); void slotRefresh( AccountState* ptr );