From c77eb98a15ede820fe02768aebc2a3cb3e69b376 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20Hellstr=C3=B6mer?= Date: Mon, 9 Sep 2024 02:45:57 +0200 Subject: [PATCH] Fixed broken mapped signal for RecentFiles --- sources/recentfiles.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/recentfiles.cpp b/sources/recentfiles.cpp index 7819f4f51..60a04e876 100644 --- a/sources/recentfiles.cpp +++ b/sources/recentfiles.cpp @@ -33,7 +33,7 @@ RecentFiles::RecentFiles(const QString &identifier, int size, QObject *parent) : menu_(nullptr) { mapper_ = new QSignalMapper(this); - connect(mapper_, SIGNAL(mapped(const QString &)), this, SLOT(handleMenuRequest(const QString &))); + connect(mapper_, &QSignalMapper::mappedString, this, &RecentFiles::handleMenuRequest); extractFilesFromSettings(); buildMenu();