From db4dcb5964f82e349c638e83c2ed4c903e7a9234 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=A4rkl?= Date: Fri, 17 May 2019 14:19:47 +0200 Subject: [PATCH] Fix XrefsDialog Preview Font (#1548) --- src/dialogs/XrefsDialog.cpp | 3 +-- src/dialogs/XrefsDialog.ui | 6 ------ 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/dialogs/XrefsDialog.cpp b/src/dialogs/XrefsDialog.cpp index 61ab6063..6edf06b4 100644 --- a/src/dialogs/XrefsDialog.cpp +++ b/src/dialogs/XrefsDialog.cpp @@ -24,8 +24,8 @@ XrefsDialog::XrefsDialog(QWidget *parent) : QTextDocument *asm_docu = ui->previewTextEdit->document(); asm_docu->setDocumentMargin(10); - setupPreviewFont(); setupPreviewColors(); + setupPreviewFont(); // Highlight current line connect(ui->previewTextEdit, SIGNAL(cursorPositionChanged()), this, SLOT(highlightCurrentLine())); @@ -69,7 +69,6 @@ void XrefsDialog::fillRefs(QList refs, QList x if (!qhelpers::selectFirstItem(ui->toTreeWidget)) { qhelpers::selectFirstItem(ui->fromTreeWidget); } - } void XrefsDialog::on_fromTreeWidget_itemDoubleClicked(QTreeWidgetItem *item, int column) diff --git a/src/dialogs/XrefsDialog.ui b/src/dialogs/XrefsDialog.ui index 787a91b5..fe48f8aa 100644 --- a/src/dialogs/XrefsDialog.ui +++ b/src/dialogs/XrefsDialog.ui @@ -131,12 +131,6 @@ - - - Anonymous Pro - 13 - - QFrame::NoFrame