+ connect(this, &QWidget::customContextMenuRequested, this, &NickView::showContextMenu);
+
+#if defined Q_OS_MACOS || defined Q_OS_WIN
+ // afaik this is better on Mac and Windows
+ connect(this, &QAbstractItemView::activated, this, &NickView::startQuery);
+#else
+ connect(this, &QAbstractItemView::doubleClicked, this, &NickView::startQuery);
+#endif