Hello community,

here is the log from the commit of package kidentitymanagement for 
openSUSE:Factory checked in at 2018-10-15 09:25:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kidentitymanagement (Old)
 and      /work/SRC/openSUSE:Factory/.kidentitymanagement.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kidentitymanagement"

Mon Oct 15 09:25:42 2018 rev:37 rq:641509 version:18.08.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/kidentitymanagement/kidentitymanagement.changes  
2018-09-13 23:56:17.470187604 +0200
+++ 
/work/SRC/openSUSE:Factory/.kidentitymanagement.new/kidentitymanagement.changes 
    2018-10-15 09:25:49.176350127 +0200
@@ -1,0 +2,10 @@
+Thu Oct 11 20:06:52 UTC 2018 - lbeltr...@kde.org
+
+- Update to 18.08.2
+  * New bugfix release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-18.08.2.php
+- Changes since 18.08.1:
+  * Add signal when identity is not found
+
+-------------------------------------------------------------------

Old:
----
  kidentitymanagement-18.08.1.tar.xz

New:
----
  kidentitymanagement-18.08.2.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kidentitymanagement.spec ++++++
--- /var/tmp/diff_new_pack.XMHQdw/_old  2018-10-15 09:25:49.600349731 +0200
+++ /var/tmp/diff_new_pack.XMHQdw/_new  2018-10-15 09:25:49.600349731 +0200
@@ -12,14 +12,14 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %bcond_without lang
 
 Name:           kidentitymanagement
-Version:        18.08.1
+Version:        18.08.2
 Release:        0
 %define kf5_version 5.26.0
 # Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)

++++++ kidentitymanagement-18.08.1.tar.xz -> kidentitymanagement-18.08.2.tar.xz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kidentitymanagement-18.08.1/CMakeLists.txt 
new/kidentitymanagement-18.08.2/CMakeLists.txt
--- old/kidentitymanagement-18.08.1/CMakeLists.txt      2018-09-04 
02:54:06.000000000 +0200
+++ new/kidentitymanagement-18.08.2/CMakeLists.txt      2018-10-09 
02:30:18.000000000 +0200
@@ -1,5 +1,5 @@
 cmake_minimum_required(VERSION 3.0)
-set(PIM_VERSION "5.9.1")
+set(PIM_VERSION "5.9.2")
 
 project(KIdentityManagement VERSION ${PIM_VERSION})
 
@@ -24,7 +24,7 @@
 
 
 set(KIDENTITYMANAGEMENT_LIB_VERSION ${PIM_VERSION})
-set(PIMTEXTEDIT_LIB_VERSION "5.9.1")
+set(PIMTEXTEDIT_LIB_VERSION "5.9.2")
 
 ecm_setup_version(PROJECT VARIABLE_PREFIX KIDENTITYMANAGEMENT
                         VERSION_HEADER 
"${CMAKE_CURRENT_BINARY_DIR}/kidentitymanagement_version.h"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kidentitymanagement-18.08.1/po/zh_CN/libkpimidentities5.po 
new/kidentitymanagement-18.08.2/po/zh_CN/libkpimidentities5.po
--- old/kidentitymanagement-18.08.1/po/zh_CN/libkpimidentities5.po      
2018-09-04 02:54:06.000000000 +0200
+++ new/kidentitymanagement-18.08.2/po/zh_CN/libkpimidentities5.po      
2018-10-09 02:30:18.000000000 +0200
@@ -7,8 +7,8 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2017-10-25 05:47+0200\n"
-"PO-Revision-Date: 2018-08-30 13:16\n"
-"Last-Translator: guoyunhebrave <yunhe....@protonmail.com>\n"
+"PO-Revision-Date: 2018-09-28 19:52\n"
+"Last-Translator: guoyunhe <yunhe....@protonmail.com>\n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
 "MIME-Version: 1.0\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kidentitymanagement-18.08.1/src/identitycombo.cpp 
new/kidentitymanagement-18.08.2/src/identitycombo.cpp
--- old/kidentitymanagement-18.08.1/src/identitycombo.cpp       2018-08-28 
13:42:07.000000000 +0200
+++ new/kidentitymanagement-18.08.2/src/identitycombo.cpp       2018-09-21 
21:25:42.000000000 +0200
@@ -115,8 +115,16 @@
 
 void IdentityCombo::setCurrentIdentity(const QString &name)
 {
-    int idx = d->mIdentityManager->identities().indexOf(name);
-    if ((idx < 0) || (idx == currentIndex())) {
+    if (name.isEmpty()) {
+        return;
+    }
+    const int idx = d->mIdentityManager->identities().indexOf(name);
+    if (idx < 0) {
+        Q_EMIT invalidIdentity();
+        return;
+    }
+
+    if (idx == currentIndex()) {
         return;
     }
 
@@ -129,8 +137,15 @@
 
 void IdentityCombo::setCurrentIdentity(uint uoid)
 {
-    int idx = d->mUoidList.indexOf(uoid);
-    if ((idx < 0) || (idx == currentIndex())) {
+    if (uoid == 0) {
+        return;
+    }
+    const int idx = d->mUoidList.indexOf(uoid);
+    if (idx < 0) {
+        Q_EMIT invalidIdentity();
+        return;
+    }
+    if (idx == currentIndex()) {
         return;
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kidentitymanagement-18.08.1/src/identitycombo.h 
new/kidentitymanagement-18.08.2/src/identitycombo.h
--- old/kidentitymanagement-18.08.1/src/identitycombo.h 2018-08-28 
13:42:07.000000000 +0200
+++ new/kidentitymanagement-18.08.2/src/identitycombo.h 2018-09-21 
21:25:42.000000000 +0200
@@ -68,6 +68,7 @@
     */
     void identityChanged(uint uoid);
     void identityDeleted(uint uoid);
+    void invalidIdentity();
 
 public Q_SLOTS:
     /**


Reply via email to