From: Flavio Tordini Date: Fri, 3 Jul 2009 08:00:10 +0000 (+0200) Subject: Really fix unclickable links X-Git-Tag: 0.4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=35ed3edacb7b2f0bf5353697388c578bae8840e7;p=minitube Really fix unclickable links --- diff --git a/src/SearchView.cpp b/src/SearchView.cpp index a74bf9b..882ad29 100644 --- a/src/SearchView.cpp +++ b/src/SearchView.cpp @@ -126,11 +126,10 @@ 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 + // this makes links nonclickable so it's disabled + // itemLabel->setTextInteractionFlags(Qt::LinksAccessibleByKeyboard); connect(itemLabel, SIGNAL(linkActivated(QString)), this, SLOT(watch(QString))); recentKeywordsLayout->addWidget(itemLabel); }