[Pkg-owncloud-commits] [owncloud-client] 158/470: NotificationWidget: Remove not needed method.

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu May 12 16:24:57 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 45c32ec0b16afaa43977cc0e64e60858b2711e72
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Wed Mar 16 16:21:20 2016 +0100

    NotificationWidget: Remove not needed method.
---
 src/gui/activitywidget.cpp     | 1 -
 src/gui/notificationwidget.cpp | 5 -----
 src/gui/notificationwidget.h   | 2 --
 3 files changed, 8 deletions(-)

diff --git a/src/gui/activitywidget.cpp b/src/gui/activitywidget.cpp
index 2d17453..86f259f 100644
--- a/src/gui/activitywidget.cpp
+++ b/src/gui/activitywidget.cpp
@@ -234,7 +234,6 @@ void ActivityWidget::slotBuildNotificationDisplay(const ActivityList& list)
             _widgetForNotifId[activity._id] = widget;
         }
 
-        widget->setAccountName( activity._accName );
         widget->setActivity( activity );
 
         // handle gui logs. In order to NOT annoy the user with every fetching of the
diff --git a/src/gui/notificationwidget.cpp b/src/gui/notificationwidget.cpp
index 3686be3..ac65aaa 100644
--- a/src/gui/notificationwidget.cpp
+++ b/src/gui/notificationwidget.cpp
@@ -27,11 +27,6 @@ NotificationWidget::NotificationWidget(QWidget *parent) : QWidget(parent)
     _ui.horizontalLayout->addWidget(_progressIndi);
 }
 
-void NotificationWidget::setAccountName( const QString& name )
-{
-    _accountName = name;
-}
-
 void NotificationWidget::setActivity(const Activity& activity)
 {
     _myActivity = activity;
diff --git a/src/gui/notificationwidget.h b/src/gui/notificationwidget.h
index 89f3d20..9abcd8b 100644
--- a/src/gui/notificationwidget.h
+++ b/src/gui/notificationwidget.h
@@ -30,8 +30,6 @@ class NotificationWidget : public QWidget
 public:
     explicit NotificationWidget(QWidget *parent = 0);
 
-    void setAccountName( const QString& name );
-
 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