summaryrefslogtreecommitdiffstats
path: root/qt-ui/notificationwidget.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-14 14:18:51 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-14 14:18:51 -0700
commit0c44bc7271eaeff541bbf0b30c3afe372165b2be (patch)
tree397f8653f349d11bea22c84618394bfdcdb0b192 /qt-ui/notificationwidget.cpp
parent4b120d1bf54f339eaea488c71faecb5395defaf3 (diff)
downloadsubsurface-0c44bc7271eaeff541bbf0b30c3afe372165b2be.tar.gz
Cloud storage: clear our last error if verification succeeds
This is cosmetic but makes things friendlier, I think. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/notificationwidget.cpp')
-rw-r--r--qt-ui/notificationwidget.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-ui/notificationwidget.cpp b/qt-ui/notificationwidget.cpp
index 44e2eed1b..103c0d068 100644
--- a/qt-ui/notificationwidget.cpp
+++ b/qt-ui/notificationwidget.cpp
@@ -21,6 +21,11 @@ void NotificationWidget::hideNotification()
animatedHide();
}
+QString NotificationWidget::getNotificationText()
+{
+ return text();
+}
+
void NotificationWidget::setFuture(const QFuture<void> &future)
{
future_watcher->setFuture(future);