X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fnickview.cpp;h=f0fa9dc118b718347da5a5904b28f2cee9afd6a3;hp=938775169f210e8dd20df11f9adbd1df80125e57;hb=56a9f71c475334b819e87434bc4bb0ab4722f54a;hpb=007ec4a7ee83c9ae868fab1b7e5322d4a5081b5e diff --git a/src/uisupport/nickview.cpp b/src/uisupport/nickview.cpp index 93877516..f0fa9dc1 100644 --- a/src/uisupport/nickview.cpp +++ b/src/uisupport/nickview.cpp @@ -53,11 +53,11 @@ NickView::NickView(QWidget *parent) connect(this, SIGNAL(customContextMenuRequested(const QPoint &)), SLOT(showContextMenu(const QPoint &))); -#if defined Q_WS_QWS || defined Q_WS_X11 - connect(this, SIGNAL(doubleClicked(QModelIndex)), SLOT(startQuery(QModelIndex))); -#else +#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))); +#else + connect(this, SIGNAL(doubleClicked(QModelIndex)), SLOT(startQuery(QModelIndex))); #endif }