Commit 32be16a4 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

We can use directly qOverload

parent fa28b560
......@@ -181,7 +181,7 @@ void MainWindow::setupActions() //singleton function
connect(m_recentScans, &KRecentFilesAction::urlSelected, this, &MainWindow::slotScanUrl);
connect(m_combo, QOverload<const QString &>::of(&KHistoryComboBox::returnPressed), this, &MainWindow::slotComboScan);
connect(m_combo, qOverload<const QString &>(&KHistoryComboBox::returnPressed), this, &MainWindow::slotComboScan);
connect(m_histories, &HistoryCollection::activated, this, &MainWindow::slotScanUrl);
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