diff options
author | Markus Goetz <markus@woboq.com> | 2015-07-20 19:15:45 +0300 |
---|---|---|
committer | Markus Goetz <markus@woboq.com> | 2015-07-20 19:16:33 +0300 |
commit | afed400ac69742e931c409922ec1b77a74d235b0 (patch) | |
tree | 4f6574255895e504720b3652190cd2bd4e944cfd /src/gui/protocolwidget.h | |
parent | a9dfcdd4638ad72bbd8cdf735f8c3f60be76faed (diff) |
SettingsDialog: Make bigger and more native on OS X
On OS X, the width of the dialog must not change, only its height.
Diffstat (limited to 'src/gui/protocolwidget.h')
-rw-r--r-- | src/gui/protocolwidget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/protocolwidget.h b/src/gui/protocolwidget.h index 1a688a19e..a74ab5461 100644 --- a/src/gui/protocolwidget.h +++ b/src/gui/protocolwidget.h @@ -19,6 +19,7 @@ #include <QLocale> #include "progressdispatcher.h" +#include "owncloudgui.h" #include "ui_protocolwidget.h" @@ -42,6 +43,7 @@ class ProtocolWidget : public QWidget public: explicit ProtocolWidget(QWidget *parent = 0); ~ProtocolWidget(); + QSize sizeHint() const { return ownCloudGui::settingsDialogSize(); } public slots: void slotProgressInfo( const QString& folder, const ProgressInfo& progress ); |