From 2060e02021939af06ad1bd15e3268ebc6433fa67 Mon Sep 17 00:00:00 2001 From: Dario Lombardo Date: Sun, 5 Jan 2020 23:43:47 +0100 Subject: 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 Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte Reviewed-by: Gerald Combs --- ui/qt/about_dialog.cpp | 2 -- 1 file changed, 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() -- cgit v1.2.3