diff options
| author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2013-09-27 10:57:14 +0300 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2013-09-30 12:21:31 +0200 |
| commit | 82c519d8aceee7d1747bcca98aad54dc3e82ea19 (patch) | |
| tree | 3e1db075d23eac81f2f48f7d870b82156fbfab5f /src | |
| parent | f047d7eef9770410c2e32032104267d28abbd107 (diff) | |
| download | qt-creator-82c519d8aceee7d1747bcca98aad54dc3e82ea19.tar.gz | |
Welcome page: Set size constraint on the container widget.
Such that QLayout properly handles it. Fixes warnings about
resizing violating size constraints on Windows.
Task-number: QTCREATORBUG-10251
Change-Id: I25361fbc994f23d5616c240663d64f8b3474e7f7
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/plugins/welcome/welcomeplugin.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/welcome/welcomeplugin.cpp b/src/plugins/welcome/welcomeplugin.cpp index a78f190c05..e35787ab95 100644 --- a/src/plugins/welcome/welcomeplugin.cpp +++ b/src/plugins/welcome/welcomeplugin.cpp @@ -170,9 +170,8 @@ WelcomeMode::WelcomeMode() : // scrollArea->setWidget(m_welcomePage); // scrollArea->setWidgetResizable(true); - m_welcomePage->setMinimumWidth(880); - m_welcomePage->setMinimumHeight(548); QWidget *container = QWidget::createWindowContainer(m_welcomePage, m_modeWidget); + container->setMinimumSize(QSize(880, 548)); layout->addWidget(container); m_modeWidget->setLayout(layout); |
