Qt: Don't force a minimum size for the main window

This commit is contained in:
Starsam80 2017-05-26 19:24:07 -06:00
commit 3eac4b6c9d
No known key found for this signature in database
GPG key ID: 4E48BB48BA7E9026
2 changed files with 6 additions and 1 deletions

View file

@ -259,7 +259,6 @@ void MainWindow::ConnectRenderWidget()
void MainWindow::ConnectStack()
{
m_stack->setMinimumSize(800, 600);
m_stack->addWidget(m_game_list);
setCentralWidget(m_stack);
}
@ -621,3 +620,8 @@ void MainWindow::dropEvent(QDropEvent* event)
settings.AddPath(path);
}
}
QSize MainWindow::sizeHint() const
{
return QSize(800, 600);
}