X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fnickview.cpp;fp=src%2Fuisupport%2Fnickview.cpp;h=3afab5a3d45f0ae2e144b3ea295ee0691c5b355c;hp=31359c0e8f21b27a79decdaa7532b110aa3c257f;hb=fe155e87ffa75bf4c13ae40311b029adba706816;hpb=deaa4151758de4f22d1f7c113c50af0ffc6ae587 diff --git a/src/uisupport/nickview.cpp b/src/uisupport/nickview.cpp index 31359c0e..3afab5a3 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 }