From: Flavio Tordini Date: Fri, 3 Jul 2009 07:58:07 +0000 (+0200) Subject: Fix unclickable labels on the Mac X-Git-Tag: 0.4~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=340b4638cd9a597c23e167b2779c4efcf2f465e9;p=minitube Fix unclickable labels on the Mac --- diff --git a/src/SearchView.cpp b/src/SearchView.cpp index 5171988..a74bf9b 100644 --- a/src/SearchView.cpp +++ b/src/SearchView.cpp @@ -126,7 +126,11 @@ void SearchView::updateRecentKeywords() { QLabel *itemLabel = new QLabel("" + keyword + "", this); +#ifndef Q_WS_MAC + // Make links navigable with the keyboard + // this makes links nonclickable on the Mac, so it's disabled itemLabel->setTextInteractionFlags(Qt::LinksAccessibleByKeyboard); +#endif connect(itemLabel, SIGNAL(linkActivated(QString)), this, SLOT(watch(QString))); recentKeywordsLayout->addWidget(itemLabel); }