mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-23 19:12:14 +03:00
fixed about window size on mac
This commit is contained in:
parent
f11f9c5eb6
commit
01fe7027d3
@ -31,9 +31,10 @@ AboutDialog::AboutDialog(QWidget* parent, const QString& synergyApp) :
|
|||||||
m_pLabelSynergyVersion->setText(m_versionChecker.getVersion());
|
m_pLabelSynergyVersion->setText(m_versionChecker.getVersion());
|
||||||
|
|
||||||
#if defined(Q_OS_MAC)
|
#if defined(Q_OS_MAC)
|
||||||
// fonts on mac are bigger, so window needs to be bigger.
|
// fonts on mac are bigger, so window needs to be bigger.
|
||||||
resize(400, 350);
|
QSize size(600, 350);
|
||||||
setMinimumSize(size());
|
setMaximumSize(size);
|
||||||
setMaximumSize(size());
|
setMinimumSize(size);
|
||||||
|
resize(size);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user