mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-21 08:40:53 +01:00
Fixed broken mapped signal for RecentFiles
This commit is contained in:
@@ -33,7 +33,7 @@ RecentFiles::RecentFiles(const QString &identifier, int size, QObject *parent) :
|
|||||||
menu_(nullptr)
|
menu_(nullptr)
|
||||||
{
|
{
|
||||||
mapper_ = new QSignalMapper(this);
|
mapper_ = new QSignalMapper(this);
|
||||||
connect(mapper_, SIGNAL(mapped(const QString &)), this, SLOT(handleMenuRequest(const QString &)));
|
connect(mapper_, &QSignalMapper::mappedString, this, &RecentFiles::handleMenuRequest);
|
||||||
|
|
||||||
extractFilesFromSettings();
|
extractFilesFromSettings();
|
||||||
buildMenu();
|
buildMenu();
|
||||||
|
|||||||
Reference in New Issue
Block a user