Commit 09029041 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

BinEditor: Complete Qt5-style connects

+ De-slot

Change-Id: I8ca637c674119e11b9aea10e279ec2c200f584d0
Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
parent d198c4a2
......@@ -95,8 +95,8 @@ BinEditorWidget::BinEditorWidget(QWidget *parent)
// Font settings
setFontSettings(TextEditor::TextEditorSettings::fontSettings());
connect(TextEditor::TextEditorSettings::instance(),
SIGNAL(fontSettingsChanged(TextEditor::FontSettings)),
this, SLOT(setFontSettings(TextEditor::FontSettings)));
&TextEditor::TextEditorSettings::fontSettingsChanged,
this, &BinEditorWidget::setFontSettings);
}
......
......@@ -115,7 +115,6 @@ public:
QList<Markup> markup() const { return m_markup; }
public Q_SLOTS:
void setFontSettings(const TextEditor::FontSettings &fs);
void highlightSearchResults(const QByteArray &pattern,
QTextDocument::FindFlags findFlags = 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment