[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [ktp-text-ui] app: Fix window presence icon when more tabs are open
From: Dan_Vrátil <dvratil () redhat ! com>
Date: 2013-01-31 23:36:13
Message-ID: 20130131233613.C7BC5A6091 () git ! kde ! org
[Download RAW message or body]
Git commit d36d1a9d6ad43201224d2d1a4a0694b4aef5b13b by Dan Vrátil.
Committed on 01/02/2013 at 00:35.
Pushed by dvratil into branch 'master'.
Fix window presence icon when more tabs are open
BUG: 314186
Reviewed-By: David Edmundson
M +1 -1 app/chat-window.cpp
http://commits.kde.org/telepathy-text-ui/d36d1a9d6ad43201224d2d1a4a0694b4aef5b13b
diff --git a/app/chat-window.cpp b/app/chat-window.cpp
index cb7a234..8e68532 100644
--- a/app/chat-window.cpp
+++ b/app/chat-window.cpp
@@ -462,7 +462,7 @@ void ChatWindow::onTabStateChanged()
}
} else {
setTabIcon(tabIndex, sender->icon());
- windowIcon = sender->icon();
+ windowIcon = qobject_cast<ChatTab*>(m_tabWidget->currentWidget())->icon();
}
if (sender->unreadMessageCount() > 0) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic