From 99e53efd5ecbb15ea3fb79a0e2a827896a3ea94c Mon Sep 17 00:00:00 2001 From: "craig.p.drummond" Date: Fri, 24 May 2013 20:13:30 +0000 Subject: [PATCH] Fix link colours in about dialog when using dark context view. --- context/contextpage.h | 1 + gui/mainwindow.cpp | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/context/contextpage.h b/context/contextpage.h index 96c051efb..544bdb772 100644 --- a/context/contextpage.h +++ b/context/contextpage.h @@ -50,6 +50,7 @@ public: void update(const Song &s); void showEvent(QShowEvent *e); void paintEvent(QPaintEvent *e); + const QColor & normalLinkColor() const { return appLinkColor; } Q_SIGNALS: void findArtist(const QString &artist); diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index cd7b28ec6..71729b1cc 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -1451,10 +1451,12 @@ void MainWindow::changeConnection() void MainWindow::showAboutDialog() { QMessageBox::about(this, i18nc("Qt-only", "About Cantata"), + QLatin1String("")+ i18nc("Qt-only", "Cantata %1

MPD client.

(c) Craig Drummond 2011-2013.
Released under the GPLv3

" "Based upon QtMPC - (C) 2007-2010 The QtMPC Authors
" "Context view backdrops courtesy of Home Theater Backdrops
" - "Context view metadata courtesy of Wikipedia
").arg(PACKAGE_VERSION_STRING)); + "Context view metadata courtesy of Wikipedia").arg(PACKAGE_VERSION_STRING)+ + QLatin1String("")); } #endif