diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-06-14 14:18:51 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-14 14:18:51 -0700 |
commit | 0c44bc7271eaeff541bbf0b30c3afe372165b2be (patch) | |
tree | 397f8653f349d11bea22c84618394bfdcdb0b192 /qt-ui/notificationwidget.cpp | |
parent | 4b120d1bf54f339eaea488c71faecb5395defaf3 (diff) | |
download | subsurface-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.cpp | 5 |
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); |