diff options
| author | Christoph Berg <myon@debian.org> | 2020-05-25 21:27:22 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2020-05-25 21:27:22 +0200 |
| commit | 458b033b8ae7818d50e80f51b12c0c43bbd0d3e2 (patch) | |
| tree | 4aabd646d028edc5e51a71762faeac6c07577642 /widgets/HelpTextWindow.cpp | |
| parent | 32a41b1abe1a4aab0892c9c2051be6ba5b379f1e (diff) | |
New upstream version 2.2.0~rc2+repackupstream/2.2.0_rc2+repack
Diffstat (limited to 'widgets/HelpTextWindow.cpp')
| -rw-r--r-- | widgets/HelpTextWindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/HelpTextWindow.cpp b/widgets/HelpTextWindow.cpp index d24a87a5..51bfc89f 100644 --- a/widgets/HelpTextWindow.cpp +++ b/widgets/HelpTextWindow.cpp @@ -22,10 +22,11 @@ HelpTextWindow::HelpTextWindow (QString const& title, QString const& file_name, , tr ("Error: %1").arg (source.errorString ())); return; } - setText (QTextStream {&source}.readAll ()); setWindowTitle(QApplication::applicationName () + " - " + title); setMargin (10); setBackgroundRole (QPalette::Base); setAutoFillBackground (true); setStyleSheet (font_as_stylesheet (font)); + setText (QTextStream {&source}.readAll ()); + setMinimumSize (sizeHint ()); } |
