]> git.sur5r.net Git - minitube/commitdiff
Really fix unclickable links 0.4
authorFlavio Tordini <flavio.tordini@gmail.com>
Fri, 3 Jul 2009 08:00:10 +0000 (10:00 +0200)
committerFlavio Tordini <flavio.tordini@gmail.com>
Fri, 3 Jul 2009 08:00:10 +0000 (10:00 +0200)
src/SearchView.cpp

index a74bf9bebaff32d417927013287655be4528618c..882ad2939ad6ad11c76c0cba6f766c273d0d8d7e 100644 (file)
@@ -126,11 +126,10 @@ void SearchView::updateRecentKeywords() {
         QLabel *itemLabel = new QLabel("<a href=\"" + keyword
                                        + "\" style=\"color:palette(text); text-decoration:none\">"
                                        + keyword + "</a>", 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);
     }