triage: fix broken signal-slot when double-clicking result (#5810)
This commit is contained in:
parent
4a9b921ccf
commit
b6e157408c
|
@ -285,7 +285,7 @@ bool MainWindow::unpackArchive(const QString &archiveName)
|
|||
return runProcess("tar", args);
|
||||
}
|
||||
|
||||
void MainWindow::showResult(const QListWidgetItem *item)
|
||||
void MainWindow::showResult(QListWidgetItem *item)
|
||||
{
|
||||
ui->statusBar->clearMessage();
|
||||
const bool local = item->text().startsWith(DACA2_PACKAGES);
|
||||
|
|
|
@ -47,7 +47,7 @@ public slots:
|
|||
void loadFile();
|
||||
void loadFromClipboard();
|
||||
void filter(const QString& filter);
|
||||
void showResult(const QListWidgetItem *item);
|
||||
void showResult(QListWidgetItem *item);
|
||||
void refreshResults();
|
||||
void fileTreeFilter(const QString &str);
|
||||
void findInFilesClicked();
|
||||
|
|
|
@ -450,7 +450,7 @@
|
|||
<sender>results</sender>
|
||||
<signal>itemDoubleClicked(QListWidgetItem*)</signal>
|
||||
<receiver>MainWindow</receiver>
|
||||
<slot>showResult(const QListWidgetItem*)</slot>
|
||||
<slot>showResult(QListWidgetItem*)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>28</x>
|
||||
|
@ -481,7 +481,7 @@
|
|||
</connections>
|
||||
<slots>
|
||||
<slot>loadFile()</slot>
|
||||
<slot>showResult(const QListWidgetItem*)</slot>
|
||||
<slot>showResult(QListWidgetItem*)</slot>
|
||||
<slot>loadFromClipboard()</slot>
|
||||
<slot>filter(QString)</slot>
|
||||
<slot>refreshResults()</slot>
|
||||
|
|
Loading…
Reference in New Issue