build: fix mac os missing ;
This commit is contained in:
parent
f61fe00c33
commit
a401c98bf6
1 changed files with 2 additions and 2 deletions
|
|
@ -499,14 +499,14 @@ void MainWindow::updateSize()
|
||||||
{
|
{
|
||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
// On mac os the titlebar is part of the height so we need to adjust our Y coord to avoid moving the window up
|
// On mac os the titlebar is part of the height so we need to adjust our Y coord to avoid moving the window up
|
||||||
const auto kTitleBarOffset = 28
|
const auto kTitleBarOffset = 28;
|
||||||
#else
|
#else
|
||||||
const auto kTitleBarOffset = 0;
|
const auto kTitleBarOffset = 0;
|
||||||
#endif
|
#endif
|
||||||
if (ui->textLog->isVisible()) {
|
if (ui->textLog->isVisible()) {
|
||||||
setMaximumHeight(16777215);
|
setMaximumHeight(16777215);
|
||||||
setMaximumWidth(16777215);
|
setMaximumWidth(16777215);
|
||||||
setGeometry(x(), y() + kTitleBarOffset , m_expandedSize.width(), m_expandedSize.height());
|
setGeometry(x(), y() + kTitleBarOffset, m_expandedSize.width(), m_expandedSize.height());
|
||||||
} else {
|
} else {
|
||||||
adjustSize();
|
adjustSize();
|
||||||
// Prevent Resize with log collapsed
|
// Prevent Resize with log collapsed
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue