From 35ed3edacb7b2f0bf5353697388c578bae8840e7 Mon Sep 17 00:00:00 2001 From: Flavio Tordini Date: Fri, 3 Jul 2009 10:00:10 +0200 Subject: [PATCH] Really fix unclickable links --- src/SearchView.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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); } -- 2.39.5