From 752d9b60c459c51fd5014d91a9e03c84a8f18f38 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 26 Oct 2017 15:53:47 +0200 Subject: Divelistview: use report_error to report and error Signed-off-by: Dirk Hohndel --- desktop-widgets/divelistview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop-widgets/divelistview.cpp b/desktop-widgets/divelistview.cpp index 5e6bfd5f0..c12ac8934 100644 --- a/desktop-widgets/divelistview.cpp +++ b/desktop-widgets/divelistview.cpp @@ -983,7 +983,7 @@ void DiveListView::loadImageFromURL(QUrl url) if (image.isNull()) { // If this is not an image, maybe it's an html file and Miika can provide some xslr magic to extract images. // In this case we would call the function recursively on the list of image source urls; - MainWindow::instance()->getNotificationWidget()->showNotification(tr("%1 does not appear to be an image").arg(url.toString()), KMessageWidget::Error); + report_error(qPrintable(tr("%1 does not appear to be an image").arg(url.toString()))); return; } -- cgit v1.2.3-70-g09d2