custom about window size on mac (bigger font size)

This commit is contained in:
Nick Bolton 2012-07-29 01:01:33 +00:00
parent d76bf1ecd8
commit 65edd6a8c1
1 changed files with 7 additions and 0 deletions

View File

@ -29,4 +29,11 @@ AboutDialog::AboutDialog(QWidget* parent, const QString& synergyApp) :
m_versionChecker.setApp(synergyApp); m_versionChecker.setApp(synergyApp);
m_pLabelSynergyVersion->setText(m_versionChecker.getVersion()); m_pLabelSynergyVersion->setText(m_versionChecker.getVersion());
#if defined(Q_OS_MAC)
// fonts on mac are bigger, so window needs to be bigger.
resize(400, 350);
setMinimumSize(size());
setMaximumSize(size());
#endif
} }