diff options
author | Dario Lombardo <lomato@gmail.com> | 2020-01-05 23:43:47 +0100 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2020-01-06 22:59:35 +0000 |
commit | 2060e02021939af06ad1bd15e3268ebc6433fa67 (patch) | |
tree | 8f3262372320b3109540d87ad9400f9a3b51f60a /ui/qt | |
parent | 590ad8d8ff4477ebe1c60fbaf3d7db79d9e05393 (diff) |
Qt: don't use monospace fonts for licence dialog.
Authors and licence dialogs were using monospace fonts to resemble
GTK interface. Authors is not monospace anymore. Not using monospace
for license dialog makes the text look more similar to other dialogs
and more readable.
Change-Id: I5a62f0993d579af5b1db7dea351d9a10175a069d
Reviewed-on: https://code.wireshark.org/review/35663
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt')
-rw-r--r-- | ui/qt/about_dialog.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/qt/about_dialog.cpp b/ui/qt/about_dialog.cpp index 8c3dd767ee..40d4575556 100644 --- a/ui/qt/about_dialog.cpp +++ b/ui/qt/about_dialog.cpp @@ -375,10 +375,8 @@ AboutDialog::AboutDialog(QWidget *parent) : f_license.open(QFile::ReadOnly | QFile::Text); QTextStream ReadFile_license(&f_license); - ui->pte_License->setFont(wsApp->monospaceFont()); ui->pte_License->insertPlainText(ReadFile_license.readAll()); ui->pte_License->moveCursor(QTextCursor::Start); - } AboutDialog::~AboutDialog() |