Commit 25680931 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix connect signal/slot

parent 4f53b278
Pipeline #63663 passed with stage
in 40 minutes and 32 seconds
......@@ -17,8 +17,6 @@ FilterSavedMenu::FilterSavedMenu(QWidget *parent)
, mConfigureAction(new QAction(i18n("Configure..."), this))
{
connect(this, &FilterSavedMenu::aboutToShow, this, &FilterSavedMenu::slotShowMenu);
connect(mSaveAction, &QAction::triggered, this, &FilterSavedMenu::saveFilter);
connect(mConfigureAction, &QAction::triggered, this, &FilterSavedMenu::configureFilters);
}
FilterSavedMenu::~FilterSavedMenu()
......@@ -42,4 +40,6 @@ void FilterSavedMenu::slotShowMenu()
addAction(mSaveAction);
addSeparator();
addAction(mConfigureAction);
connect(mSaveAction, &QAction::triggered, this, &FilterSavedMenu::saveFilter);
connect(mConfigureAction, &QAction::triggered, this, &FilterSavedMenu::configureFilters);
}
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