[SCM] ktp-common-internals packaging branch, master, updated. debian/16.04.2-1-26-g1aa74a8

Maximiliano Curia maxy at moszumanska.debian.org
Sat Sep 10 16:57:51 UTC 2016


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

The following commit has been merged in the master branch:
commit 3cfbc16f7d761d6e1d6988a5d1666c12f1b48f82
Author: David Faure <faure at kde.org>
Date:   Sun Jun 12 19:00:49 2016 +0200

    Fix crash when m_enabledAccounts is still null.
---
 KTp/global-presence.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/KTp/global-presence.cpp b/KTp/global-presence.cpp
index 8f1148b..0b751b1 100644
--- a/KTp/global-presence.cpp
+++ b/KTp/global-presence.cpp
@@ -323,7 +323,7 @@ void GlobalPresence::onConnectionStatusChanged()
 
 bool GlobalPresence::hasEnabledAccounts() const
 {
-    if (m_enabledAccounts->accounts().isEmpty()) {
+    if (m_enabledAccounts.isNull() || m_enabledAccounts->accounts().isEmpty()) {
         return false;
     }
 

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list