mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Divelistview: use report_error to report and error
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3b92585a47
commit
752d9b60c4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue