diff options
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 95d74de..b331da5 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -110,6 +110,11 @@ void MainWindow::reLayout() m_LoginForm->move(offsetX, offsetY); m_LoginForm->show(); newsX = m_LoginForm->geometry().right() + 5; + + QRect layout(offsetX, offsetY, m_ScreenRect.width(), m_ScreenRect.height()); + if (layout == m_lastRelayout) + return; + m_lastRelayout = layout; } // Banner |