[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:24:52 UTC 2016


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

The following commit has been merged in the master branch:
commit a2f851db50008a899685c4e2cacd7f7db3c18121
Author: David Edmundson <kde at davidedmundson.co.uk>
Date:   Sat Aug 9 17:20:52 2014 +0200

    Pedantic code tidy
---
 app/chat-window.cpp | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/app/chat-window.cpp b/app/chat-window.cpp
index ce9e298..798dea1 100644
--- a/app/chat-window.cpp
+++ b/app/chat-window.cpp
@@ -1203,11 +1203,13 @@ void ChatWindow::offerDocumentToChatroom(const Tp::AccountPtr& account, const QS
 
 void ChatWindow::restoreKeyboardLayout(ChatTab *chatTab)
 {
-    if (chatTab) {
-	QString currentKeyboardLayout = chatTab->currentKeyboardLayoutLanguage();
-	if (!currentKeyboardLayout.isEmpty()) {
-	    m_keyboardLayoutInterface->asyncCall(QLatin1String("setLayout"), currentKeyboardLayout);
-	}
+    if (!chatTab) {
+        return;
+    }
+
+    QString currentKeyboardLayout = chatTab->currentKeyboardLayoutLanguage();
+    if (!currentKeyboardLayout.isEmpty()) {
+        m_keyboardLayoutInterface->asyncCall(QLatin1String("setLayout"), currentKeyboardLayout);
     }
 }
 

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list