Skip to content

Commit

Permalink
MainWindow_removing_code_from_constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
szeli1 committed Nov 24, 2024
1 parent cef80a6 commit 2171488
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/gui/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1614,9 +1614,7 @@ MainWindow::MovableQMdiArea::MovableQMdiArea(QWidget* parent) :
m_isBeingMoved(false),
m_lastX(0),
m_lastY(0)
{
setSizeAdjustPolicy(QAbstractScrollArea::AdjustIgnored);
}
{}

void MainWindow::MovableQMdiArea::mousePressEvent(QMouseEvent* event)
{
Expand Down

0 comments on commit 2171488

Please sign in to comment.