build: fix mac os missing ;

This commit is contained in:
sithlord48
2024-12-26 10:03:24 -05:00
committed by Nick Bolton
parent f61fe00c33
commit a401c98bf6

View File

@ -499,14 +499,14 @@ void MainWindow::updateSize()
{
#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
const auto kTitleBarOffset = 28
const auto kTitleBarOffset = 28;
#else
const auto kTitleBarOffset = 0;
#endif
if (ui->textLog->isVisible()) {
setMaximumHeight(16777215);
setMaximumWidth(16777215);
setGeometry(x(), y() + kTitleBarOffset , m_expandedSize.width(), m_expandedSize.height());
setGeometry(x(), y() + kTitleBarOffset, m_expandedSize.width(), m_expandedSize.height());
} else {
adjustSize();
// Prevent Resize with log collapsed