modernize: Replace most remaining old-style connects by PMF ones
[quassel.git] / src / uisupport / nickview.cpp
index c0c489a..2fdb708 100644 (file)
@@ -53,7 +53,7 @@ NickView::NickView(QWidget *parent)
 
 #if defined Q_OS_MACOS || defined Q_OS_WIN
     // afaik this is better on Mac and Windows
-    connect(this, SIGNAL(activated(QModelIndex)), SLOT(startQuery(QModelIndex)));
+    connect(this, &QAbstractItemView::activated, this, &NickView::startQuery);
 #else
     connect(this, &QAbstractItemView::doubleClicked, this, &NickView::startQuery);
 #endif