diff --git a/gui/erroritem.h b/gui/erroritem.h index 11056e642..2fd2ebe2b 100644 --- a/gui/erroritem.h +++ b/gui/erroritem.h @@ -101,7 +101,7 @@ public: static bool sameCID(const ErrorItem &errorItem1, const ErrorItem &errorItem2); }; -Q_DECLARE_METATYPE(ErrorItem); +Q_DECLARE_METATYPE(ErrorItem) /** * @brief A class containing error data for one shown error line. diff --git a/gui/resultstree.cpp b/gui/resultstree.cpp index eb396a114..bd60a7f94 100644 --- a/gui/resultstree.cpp +++ b/gui/resultstree.cpp @@ -1363,5 +1363,5 @@ void ResultsTree::showInconclusiveColumn(bool show) void ResultsTree::currentChanged(const QModelIndex ¤t, const QModelIndex &previous) { QTreeView::currentChanged(current, previous); - emit selectionChanged(current); + emit treeSelectionChanged(current); } diff --git a/gui/resultstree.h b/gui/resultstree.h index d66138f5d..95f719d3b 100644 --- a/gui/resultstree.h +++ b/gui/resultstree.h @@ -198,7 +198,7 @@ signals: * * @param current Model index to specify new selected item. */ - void selectionChanged(const QModelIndex ¤t); + void treeSelectionChanged(const QModelIndex ¤t); /** * Selected item(s) has been tagged diff --git a/gui/resultsview.cpp b/gui/resultsview.cpp index eae5661da..3238e0835 100644 --- a/gui/resultsview.cpp +++ b/gui/resultsview.cpp @@ -51,7 +51,7 @@ ResultsView::ResultsView(QWidget * parent) : connect(mUI.mTree, &ResultsTree::resultsHidden, this, &ResultsView::resultsHidden); connect(mUI.mTree, &ResultsTree::checkSelected, this, &ResultsView::checkSelected); - connect(mUI.mTree, &ResultsTree::selectionChanged, this, &ResultsView::updateDetails); + connect(mUI.mTree, &ResultsTree::treeSelectionChanged, this, &ResultsView::updateDetails); connect(mUI.mTree, &ResultsTree::tagged, this, &ResultsView::tagged); connect(mUI.mTree, &ResultsTree::suppressIds, this, &ResultsView::suppressIds); connect(this, &ResultsView::showResults, mUI.mTree, &ResultsTree::showResults);