projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modernize: Replace most remaining old-style connects by PMF ones
[quassel.git]
/
src
/
uisupport
/
nickview.cpp
diff --git
a/src/uisupport/nickview.cpp
b/src/uisupport/nickview.cpp
index
c0c489a
..
2fdb708
100644
(file)
--- a/
src/uisupport/nickview.cpp
+++ b/
src/uisupport/nickview.cpp
@@
-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
#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
#else
connect(this, &QAbstractItemView::doubleClicked, this, &NickView::startQuery);
#endif