[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Btelepathy-chat-handler=5D_lib=3A_Remove_unused_icon?=
From: George Kiagiadakis <george.kiagiadakis () collabora ! com>
Date: 2011-06-06 23:16:21
Message-ID: 20110606231621.C4061A60B9 () git ! kde ! org
[Download RAW message or body]
Git commit 4a24b55ea4afdedc0ffd0ab702171dc7937924ad by George Kiagiadakis.
Committed on 06/06/2011 at 10:18.
Pushed by gkiagia into branch 'master'.
Remove unused icon variable.
M +1 -3 lib/chat-widget.cpp
http://commits.kde.org/telepathy-chat-handler/4a24b55ea4afdedc0ffd0ab702171dc7937924ad
diff --git a/lib/chat-widget.cpp b/lib/chat-widget.cpp
index 85317bc..b12162d 100644
--- a/lib/chat-widget.cpp
+++ b/lib/chat-widget.cpp
@@ -109,7 +109,6 @@ public:
Tp::TextChannelPtr channel;
Tp::AccountPtr account;
Ui::ChatWidget ui;
- KIcon icon;
ChannelContactModel *contactModel;
KComponentData telepathyComponentData();
@@ -701,8 +700,7 @@ void ChatWidget::onContactPresenceChange(const Tp::ContactPtr & contact, const T
//if in a non-group chat situation, and the other contact has changed state...
if (!d->isGroupChat && !isYou) {
- d->icon = iconForPresence(presence.type());
- Q_EMIT iconChanged(d->icon);
+ Q_EMIT iconChanged(iconForPresence(presence.type()));
}
Q_EMIT contactPresenceChanged(presence);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic