[SCM] ktp-common-internals packaging branch, master, updated. debian/15.12.1-2-1839-gf0635e9

Maximiliano Curia maxy at moszumanska.debian.org
Mon May 9 09:07:58 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=e587ab6

The following commit has been merged in the master branch:
commit e587ab67dd16cb64759bd7b77a83d7bcb1bc785d
Author: Leon Handreke <leonh at ndreke.de>
Date:   Wed Jan 15 13:16:29 2014 +0100

    Don't display any favorite chat rooms if no account is online
    
    REVIEW: 115025
---
 KTp/Widgets/join-chat-room-dialog.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/KTp/Widgets/join-chat-room-dialog.cpp b/KTp/Widgets/join-chat-room-dialog.cpp
index e846020..710eb87 100644
--- a/KTp/Widgets/join-chat-room-dialog.cpp
+++ b/KTp/Widgets/join-chat-room-dialog.cpp
@@ -176,6 +176,8 @@ void KTp::JoinChatRoomDialog::onAccountSelectionChanged(int newIndex)
     Q_UNUSED(newIndex)
 
     if (!ui->comboBox->currentAccount()) {
+        // Set a filter expression that matches no account identifier
+        m_favoritesProxyModel->setFilterRegExp(QLatin1String("a^"));
         return;
     }
 

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list