[Pkg-owncloud-commits] [owncloud-client] 199/470: NotificationWidget: Remove accountName() and add activity() method.

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu May 12 16:25:03 UTC 2016


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 1bb3a4a45d7e58030845bc8592f2b8cf041ecc83
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Wed Mar 23 16:48:38 2016 +0100

    NotificationWidget: Remove accountName() and add activity() method.
---
 src/gui/notificationwidget.cpp | 4 ++--
 src/gui/notificationwidget.h   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/gui/notificationwidget.cpp b/src/gui/notificationwidget.cpp
index e3a8187..88217f1 100644
--- a/src/gui/notificationwidget.cpp
+++ b/src/gui/notificationwidget.cpp
@@ -64,9 +64,9 @@ void NotificationWidget::setActivity(const Activity& activity)
     }
 }
 
-QString NotificationWidget::accountName() const
+Activity NotificationWidget::activity() const
 {
-    return _myActivity._accName;
+    return _myActivity;
 }
 
 void NotificationWidget::slotButtonClicked()
diff --git a/src/gui/notificationwidget.h b/src/gui/notificationwidget.h
index adafd43..c0b8755 100644
--- a/src/gui/notificationwidget.h
+++ b/src/gui/notificationwidget.h
@@ -33,7 +33,7 @@ public:
     explicit NotificationWidget(QWidget *parent = 0);
 
     bool readyToClose();
-    QString accountName() const;
+    Activity activity() const;
 
 signals:
     void sendNotificationRequest( const QString&, const QString& link, const QString& verb);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list