From c79f789248fbbebca4c36d2bb644c917dfcf02cf Mon Sep 17 00:00:00 2001 From: "craig.p.drummond" Date: Tue, 17 Jun 2014 16:55:01 +0000 Subject: [PATCH] Better error message - clickable link --- gui/coverdialog.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gui/coverdialog.cpp b/gui/coverdialog.cpp index 7819e9d9d..02a5a0bf8 100644 --- a/gui/coverdialog.cpp +++ b/gui/coverdialog.cpp @@ -432,9 +432,10 @@ void CoverDialog::show(const Song &s, const Covers::Image ¤t) if (!img.fileName.isEmpty() && !QFileInfo(img.fileName).isWritable()) { MessageBox::error(parentWidget(), - isArtist - ? i18n("

An image already exists for this artist, and the file is not writeable.

%1

", img.fileName) - : i18n("

A cover already exists for this album, and the file is not writeable.

%1

", img.fileName)); + (isArtist + ? i18n("An image already exists for this artist, and the file is not writeable.") + : i18n("A cover already exists for this album, and the file is not writeable."))+ + QString("

%1").arg(img.fileName)); deleteLater(); return; }