[SCM] ktp-text-ui packaging branch, master, updated. debian/15.12.1-1-1918-gdf4b0ec

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:18:43 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=e458468

The following commit has been merged in the master branch:
commit e45846818b3e454cc7c3cfaa8abd1f72c7bc89db
Author: Dominik Schmidt <dev at dominik-schmidt.de>
Date:   Thu Feb 3 22:46:34 2011 +0100

    Set a newly added tab on top and show the window
---
 app/chatwindow.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app/chatwindow.cpp b/app/chatwindow.cpp
index 2d3678c..753f31c 100644
--- a/app/chatwindow.cpp
+++ b/app/chatwindow.cpp
@@ -64,8 +64,9 @@ void ChatWindow::addTab(ChatWidget* chatWidget)
     connect(chatWidget, SIGNAL(userTypingChanged(bool)), this, SLOT(onUserTypingChanged(bool)));
 
     m_tabWidget->addTab(chatWidget, chatWidget->icon(), chatWidget->title());
+    m_tabWidget->setCurrentWidget(chatWidget);
 
-    onCurrentIndexChanged(m_tabWidget->indexOf(chatWidget));
+    activateWindow();
 }
 
 void ChatWindow::removeTab(ChatWidget* chatWidget)

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list