]> git.sur5r.net Git - minitube/blobdiff - src/AboutView.cpp
Merge branch 'master' of gitorious.org:minitube/minitube
[minitube] / src / AboutView.cpp
index 00afb425056e9b8cdbc5461888bd2cfe806055ab..961c867594b0e4db3e3e0294f93b754e35765c75 100644 (file)
@@ -5,6 +5,7 @@ AboutView::AboutView(QWidget *parent) : QWidget(parent) {
 
     QBoxLayout *aboutlayout = new QHBoxLayout(this);
     aboutlayout->setAlignment(Qt::AlignCenter);
+    aboutlayout->setMargin(30);
     aboutlayout->setSpacing(30);
 
     QLabel *logo = new QLabel(this);
@@ -16,7 +17,7 @@ AboutView::AboutView(QWidget *parent) : QWidget(parent) {
     layout->setSpacing(30);
     aboutlayout->addLayout(layout);
 
-    QString info = "<h1>" + QString(Constants::APP_NAME) + "</h1>"
+    QString info = "<html><style>a { color: palette(text); }</style><body><h1>" + QString(Constants::APP_NAME) + "</h1>"
                    "<p>" + tr("There's life outside the browser!") + "</p>"
                    "<p>" + tr("Version %1").arg(Constants::VERSION) + "</p>"
                    + QString("<p><a href=\"%1/\">%1</a></p>").arg(Constants::WEBSITE) +
@@ -60,11 +61,12 @@ AboutView::AboutView(QWidget *parent) : QWidget(parent) {
                                                       "Tsvyatko Makazchiev (bg_BG), "
                                                       "Changtai Liang (zh_CN)"
                                                       ) + "</p>"
-
+#if !defined(APP_MAC) && !defined(Q_WS_WIN)
                    "<p>" + tr("Released under the <a href='%1'>GNU General Public License</a>")
                    .arg("http://www.gnu.org/licenses/gpl.html") + "</p>"
-
-                   "<p>&copy; 2009-2010 " + Constants::ORG_NAME + "</p>";
+#endif
+                   "<p>&copy; 2009-2010 " + Constants::ORG_NAME + "</p>"
+                   "</body></html>";;
     QLabel *infoLabel = new QLabel(info, this);
     infoLabel->setOpenExternalLinks(true);
     infoLabel->setWordWrap(true);