diff --git a/GUI/Views/SampleDesigner/SampleToolBoxTreeWidget.cpp b/GUI/Views/SampleDesigner/SampleToolBoxTreeWidget.cpp
index 3ffcff6684f39e74e60524fc08ed5a523a48430f..0366cf7932e669858c231a1882c5a057cca30264 100644
--- a/GUI/Views/SampleDesigner/SampleToolBoxTreeWidget.cpp
+++ b/GUI/Views/SampleDesigner/SampleToolBoxTreeWidget.cpp
@@ -159,8 +159,7 @@ void SampleToolBoxTreeWidget::addGroupView(QTreeWidgetItem* parent, bool iconMod
     embed_item->setFlags(Qt::ItemIsEnabled);
     SampleToolBoxGroupView* view = new SampleToolBoxGroupView(this);
     view->setViewMode(iconMode ? QListView::IconMode : QListView::ListMode);
-    connect(view, SIGNAL(pressed(QString, QString, QPoint)), this,
-            SIGNAL(pressed(QString, QString, QPoint)));
+    connect(view, &SampleToolBoxGroupView::pressed, this, &SampleToolBoxTreeWidget::pressed);
     setItemWidget(embed_item, 0, view);
 }