fixed about window size on mac

This commit is contained in:
Nick Bolton 2012-07-29 23:01:45 +00:00
parent f11f9c5eb6
commit 01fe7027d3
1 changed files with 5 additions and 4 deletions

View File

@ -32,8 +32,9 @@ AboutDialog::AboutDialog(QWidget* parent, const QString& synergyApp) :
#if defined(Q_OS_MAC)
// fonts on mac are bigger, so window needs to be bigger.
resize(400, 350);
setMinimumSize(size());
setMaximumSize(size());
QSize size(600, 350);
setMaximumSize(size);
setMinimumSize(size);
resize(size);
#endif
}