Commit 43937ee5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port deprecated signal

parent fb4e02d1
...@@ -179,7 +179,7 @@ void MainWindow::setupActions() //singleton function ...@@ -179,7 +179,7 @@ void MainWindow::setupActions() //singleton function
m_recentScans->loadEntries(KSharedConfig::openConfig()->group("general")); m_recentScans->loadEntries(KSharedConfig::openConfig()->group("general"));
connect(m_recentScans, &KRecentFilesAction::urlSelected, this, &MainWindow::slotScanUrl); connect(m_recentScans, &KRecentFilesAction::urlSelected, this, &MainWindow::slotScanUrl);
connect(m_combo, static_cast<void (KHistoryComboBox::*)()>(&KHistoryComboBox::returnPressed), this, &MainWindow::slotComboScan); connect(m_combo, QOverload<const QString &>::of(&KHistoryComboBox::returnPressed), this, &MainWindow::slotComboScan);
connect(m_histories, &HistoryCollection::activated, this, &MainWindow::slotScanUrl); 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