From 1ad4faa33403dc24ddc6f907f2b56bbe968d77f2 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sun, 26 Dec 2021 19:50:19 +0100 Subject: rbutil: Modernize connect() calls. Auto fixed by clazy. Change-Id: Iea16d892fd81c151f0081f7476acc5eda62afc25 --- utils/rbutilqt/gui/changelog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/rbutilqt/gui/changelog.cpp') diff --git a/utils/rbutilqt/gui/changelog.cpp b/utils/rbutilqt/gui/changelog.cpp index 6495c0ebd9..f256f3805c 100644 --- a/utils/rbutilqt/gui/changelog.cpp +++ b/utils/rbutilqt/gui/changelog.cpp @@ -28,7 +28,7 @@ Changelog::Changelog(QWidget *parent) : QDialog(parent) ui.browserChangelog->setHtml(parseChangelogFile(":/docs/changelog.txt")); ui.browserChangelog->moveCursor(QTextCursor::End, QTextCursor::MoveAnchor); ui.checkBoxShowAlways->setChecked(RbSettings::value(RbSettings::ShowChangelog).toBool()); - connect(ui.buttonOk, SIGNAL(clicked()), this, SLOT(accept())); + connect(ui.buttonOk, &QAbstractButton::clicked, this, &Changelog::accept); } -- cgit v1.2.3