]> git.sur5r.net Git - minitube/blobdiff - src/searchview.cpp
Imported Upstream version 2.1.5
[minitube] / src / searchview.cpp
index 522701e29b3fed0b290c134f6819da28f3f12f3f..6cbaa1d005dbbde8766aafc7f5e83699b1c012be 100644 (file)
@@ -84,10 +84,16 @@ SearchView::SearchView(QWidget *parent) : QWidget(parent) {
     hLayout->addLayout(layout);
 
     QLabel *welcomeLabel =
-            new QLabel("<h1 style='font-weight:normal'>" +
+            new QLabel("<h1 style='font-weight:100'>" +
                        tr("Welcome to <a href='%1'>%2</a>,")
                        // .replace("<a ", "<a style='color:palette(text)'")
-                       .replace("<a href", "<a style='text-decoration:none; color:palette(text); font-weight:bold' href")
+                       .replace("<a ", "<a style='text-decoration:none; color:palette(text);font-weight:"
+                            #if defined(APP_UBUNTU) || defined(APP_WIN)
+                                "normal"
+                            #else
+                                "bold"
+                            #endif
+                                "' ")
                        .arg(Constants::WEBSITE, Constants::NAME)
                        + "</h1>", this);
     welcomeLabel->setOpenExternalLinks(true);