From 2f554e82ff2e81f8f0ddee60c490714f3d921b38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 31 Jul 2017 08:18:34 +0200 Subject: [PATCH] GUI: modernize connect in ResultsTree --- gui/resultstree.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gui/resultstree.cpp b/gui/resultstree.cpp index 632fed0c4..e4a31be0a 100644 --- a/gui/resultstree.cpp +++ b/gui/resultstree.cpp @@ -60,8 +60,7 @@ ResultsTree::ResultsTree(QWidget * parent) : setExpandsOnDoubleClick(false); setSortingEnabled(true); - connect(this, SIGNAL(doubleClicked(const QModelIndex &)), - this, SLOT(quickStartApplication(const QModelIndex &))); + connect(this, &ResultsTree::doubleClicked, this, &ResultsTree::quickStartApplication); } ResultsTree::~ResultsTree()