aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/subsurfacewebservices.cpp
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-02-27 02:57:56 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-27 06:31:10 +0100
commitf61b59d961a5188dde3121ce83af055421fa82b0 (patch)
treed1384932b02029f6e31acb94616e037efb9315f4 /qt-ui/subsurfacewebservices.cpp
parent59ab849854bec7f61a527c4b6e5a1f063c57abb8 (diff)
downloadsubsurface-f61b59d961a5188dde3121ce83af055421fa82b0.tar.gz
Change the references to ShowError to the new notification object.
Showing an Error message is better called from the Notification Object, So for consistency old references to showError is replaced by calling the notification object. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/subsurfacewebservices.cpp')
-rw-r--r--qt-ui/subsurfacewebservices.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp
index 908747b25..fcb565f34 100644
--- a/qt-ui/subsurfacewebservices.cpp
+++ b/qt-ui/subsurfacewebservices.cpp
@@ -649,7 +649,7 @@ void DivelogsDeWebServices::prepareDivesForUpload(bool selected)
return;
}
}
- MainWindow::instance()->showError(get_error_string());
+ MainWindow::instance()->getNotificationWidget()->showNotification(get_error_string(), KMessageWidget::Error);
}
void DivelogsDeWebServices::uploadDives(QIODevice *dldContent)