GUI: modernize connect in ResultsView

This commit is contained in:
Daniel Marjamäki 2017-07-31 08:17:13 +02:00
parent 5e189de956
commit 9d93c01ba0
1 changed files with 3 additions and 3 deletions

View File

@ -48,9 +48,9 @@ ResultsView::ResultsView(QWidget * parent) :
{ {
mUI.setupUi(this); mUI.setupUi(this);
connect(mUI.mTree, SIGNAL(resultsHidden(bool)), this, SIGNAL(resultsHidden(bool))); connect(mUI.mTree, &ResultsTree::resultsHidden, this, &ResultsView::resultsHidden);
connect(mUI.mTree, SIGNAL(checkSelected(QStringList)), this, SIGNAL(checkSelected(QStringList))); connect(mUI.mTree, &ResultsTree::checkSelected, this, &ResultsView::checkSelected);
connect(mUI.mTree, SIGNAL(selectionChanged(const QModelIndex &)), this, SLOT(updateDetails(const QModelIndex &))); connect(mUI.mTree, &ResultsTree::selectionChanged, this, &ResultsView::updateDetails);
} }
void ResultsView::initialize(QSettings *settings, ApplicationList *list, ThreadHandler *checkThreadHandler) void ResultsView::initialize(QSettings *settings, ApplicationList *list, ThreadHandler *checkThreadHandler)