diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-04-07 10:55:58 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-04-07 09:13:43 +0000 |
commit | c185a15c28ae85d1dc5057e59926bce7b2b7a1b8 (patch) | |
tree | 4a8b9cc4ddb340f35f5dfd529bf3c54c7f887029 /src/plugins/qmlprofiler/qmlprofilerstatewidget.cpp | |
parent | f0d891758a4cb78458cd2afbae79644f779f57ed (diff) |
QmlProfiler: Make message boxes always 300 pixels wide.
Sometimes the text would not fit and constantly resizing them is ugly
anyway.
Change-Id: Id1136ae3b2d2f339ff6f4302b45794201221e6c4
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerstatewidget.cpp')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilerstatewidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerstatewidget.cpp b/src/plugins/qmlprofiler/qmlprofilerstatewidget.cpp index 9d4dc87c220..a6c8e47e322 100644 --- a/src/plugins/qmlprofiler/qmlprofilerstatewidget.cpp +++ b/src/plugins/qmlprofiler/qmlprofilerstatewidget.cpp @@ -200,7 +200,7 @@ void QmlProfilerStateWidget::showText(const QString &text, bool showProgress) } d->progressBar->setVisible(showProgress); d->text->setText(text); - resize(showProgress ? 300 : 200, 70); + resize(300, 70); reposition(); } |