X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fnickview.cpp;h=3afab5a3d45f0ae2e144b3ea295ee0691c5b355c;hp=75e4d73df10dc432549e29699163bf6025f9e048;hb=fe155e87ffa75bf4c13ae40311b029adba706816;hpb=de2c1a4f9bbae7070cf8fd8247db765a23d28a9c diff --git a/src/uisupport/nickview.cpp b/src/uisupport/nickview.cpp index 75e4d73d..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 } @@ -149,4 +149,4 @@ void NickView::startQuery(const QModelIndex &index) return; Client::bufferModel()->switchToOrStartQuery(networkId, ircUser->nick()); -} \ No newline at end of file +}