Gui: replace slots with member function pointers

This commit is contained in:
wmayer
2023-02-01 16:16:05 +01:00
committed by Uwe
parent 1e03fddb67
commit 76860143f7
16 changed files with 79 additions and 70 deletions

View File

@@ -412,7 +412,7 @@ void DownloadItem::tryAgain()
void DownloadItem::contextMenuEvent (QContextMenuEvent * e)
{
QMenu menu;
QAction* a = menu.addAction(tr("Open containing folder"), this, SLOT(openFolder()));
QAction* a = menu.addAction(tr("Open containing folder"), this, &DownloadItem::openFolder);
a->setEnabled(m_output.exists());
menu.exec(e->globalPos());
}