Hello community,

here is the log from the commit of package attica-qt5 for openSUSE:Factory 
checked in at 2016-05-19 12:04:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/attica-qt5 (Old)
 and      /work/SRC/openSUSE:Factory/.attica-qt5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "attica-qt5"

Changes:
--------
--- /work/SRC/openSUSE:Factory/attica-qt5/attica-qt5.changes    2016-04-12 
19:08:12.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.attica-qt5.new/attica-qt5.changes       
2016-05-19 12:04:54.000000000 +0200
@@ -1,0 +2,8 @@
+Sat May  7 18:29:21 UTC 2016 - hrvoje.sen...@gmail.com
+
+- Update to 5.22.0 (boo#980066)
+  * Properly check if a URL is a local file
+  * For more details please see:
+    https://www.kde.org/announcements/kde-frameworks-5.22.0.php
+
+-------------------------------------------------------------------

Old:
----
  attica-5.21.0.tar.xz

New:
----
  attica-5.22.0.tar.xz

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

Other differences:
------------------
++++++ attica-qt5.spec ++++++
--- /var/tmp/diff_new_pack.8TUCd7/_old  2016-05-19 12:04:55.000000000 +0200
+++ /var/tmp/diff_new_pack.8TUCd7/_new  2016-05-19 12:04:55.000000000 +0200
@@ -19,9 +19,9 @@
 %define sonum   5
 %define rname attica
 %define _libname KF5Attica
-%define _tar_path 5.21
+%define _tar_path 5.22
 Name:           attica-qt5
-Version:        5.21.0
+Version:        5.22.0
 Release:        0
 Summary:        Open Collaboration Service client library
 License:        LGPL-2.1+

++++++ attica-5.21.0.tar.xz -> attica-5.22.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/attica-5.21.0/CMakeLists.txt 
new/attica-5.22.0/CMakeLists.txt
--- old/attica-5.21.0/CMakeLists.txt    2016-04-03 22:25:13.000000000 +0200
+++ new/attica-5.22.0/CMakeLists.txt    2016-05-06 21:29:06.000000000 +0200
@@ -4,7 +4,7 @@
 
 # ECM setup
 include(FeatureSummary)
-find_package(ECM 5.21.0  NO_MODULE)
+find_package(ECM 5.22.0  NO_MODULE)
 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake 
Modules." URL 
"https://projects.kde.org/projects/kdesupport/extra-cmake-modules";)
 feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND 
FATAL_ON_MISSING_REQUIRED_PACKAGES)
 
@@ -18,7 +18,7 @@
 include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
 include(KDECMakeSettings)
 
-set(KF5_VERSION "5.21.0") # handled by release scripts
+set(KF5_VERSION "5.22.0") # handled by release scripts
 
 ecm_setup_version(${KF5_VERSION}
     VARIABLE_PREFIX ATTICA
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/attica-5.21.0/src/atticautils.cpp 
new/attica-5.22.0/src/atticautils.cpp
--- old/attica-5.21.0/src/atticautils.cpp       2016-04-03 22:25:13.000000000 
+0200
+++ new/attica-5.22.0/src/atticautils.cpp       2016-05-06 21:29:06.000000000 
+0200
@@ -62,8 +62,8 @@
                 mm = tzlist[1].toInt();
             }
         } else {
-            hh = tz.left(2).toInt();
-            mm = tz.mid(2).toInt();
+            hh = tz.leftRef(2).toInt();
+            mm = tz.midRef(2).toInt();
         }
 
         tzsecs = 60 * 60 * hh + 60 * mm;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/attica-5.21.0/src/content.cpp 
new/attica-5.22.0/src/content.cpp
--- old/attica-5.21.0/src/content.cpp   2016-04-03 22:25:13.000000000 +0200
+++ new/attica-5.22.0/src/content.cpp   2016-05-06 21:29:06.000000000 +0200
@@ -195,7 +195,7 @@
         if (key.startsWith(QLatin1String("downloadname"))) {
             bool ok;
             // remove "downloadlink", get the rest as number
-            int num = key.right(key.size() - 12).toInt(&ok);
+            int num = key.rightRef(key.size() - 12).toInt(&ok);
             if (ok) {
                 // check if the download actually has a name
                 if (!iter.value().isEmpty()) {
@@ -246,7 +246,7 @@
         if (key.startsWith(QLatin1String("homepagetype"))) {
             bool ok;
             // remove "homepage", get the rest as number
-            int num = key.right(key.size() - 12).toInt(&ok);
+            int num = key.rightRef(key.size() - 12).toInt(&ok);
             if (ok) {
                 // check if the homepage actually has a valid type
                 if (!iter.value().isEmpty()) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/attica-5.21.0/src/provider.cpp 
new/attica-5.22.0/src/provider.cpp
--- old/attica-5.21.0/src/provider.cpp  2016-04-03 22:25:13.000000000 +0200
+++ new/attica-5.22.0/src/provider.cpp  2016-05-06 21:29:06.000000000 +0200
@@ -1494,7 +1494,7 @@
         return 0;
     }
 
-    QUrl url = createUrl(QLatin1String("comments/data/") + commentTypeString + 
QLatin1String("/") + id + QLatin1String("/") + id2);
+    QUrl url = createUrl(QLatin1String("comments/data/") + commentTypeString + 
QLatin1Char('/') + id + QLatin1Char('/') + id2);
 
     QUrlQuery q(url);
     q.addQueryItem(QStringLiteral("page"), QString::number(page));
@@ -1548,7 +1548,7 @@
         return 0;
     }
 
-    QUrl url = createUrl(QLatin1String("privatedata/setattribute/") + app + 
QLatin1String("/") + key);
+    QUrl url = createUrl(QLatin1String("privatedata/setattribute/") + app + 
QLatin1Char('/') + key);
     PostFileData postRequest(url);
 
     postRequest.addArgument(QLatin1String("value"), value);
@@ -1562,7 +1562,7 @@
         return 0;
     }
 
-    ItemJob<PrivateData> *job = new ItemJob<PrivateData>(d->m_internals, 
createRequest(QLatin1String("privatedata/getattribute/") + app + 
QLatin1String("/") + key));
+    ItemJob<PrivateData> *job = new ItemJob<PrivateData>(d->m_internals, 
createRequest(QLatin1String("privatedata/getattribute/") + app + 
QLatin1Char('/') + key));
     return job;
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/attica-5.21.0/src/providermanager.cpp 
new/attica-5.22.0/src/providermanager.cpp
--- old/attica-5.21.0/src/providermanager.cpp   2016-04-03 22:25:13.000000000 
+0200
+++ new/attica-5.22.0/src/providermanager.cpp   2016-05-06 21:29:06.000000000 
+0200
@@ -133,9 +133,8 @@
 
 void ProviderManager::addProviderFile(const QUrl &url)
 {
-    QString localFile = url.toLocalFile();
-    if (!localFile.isEmpty()) {
-        QFile file(localFile);
+    if (url.isLocalFile()) {
+        QFile file(url.toLocalFile());
         if (!file.open(QIODevice::ReadOnly)) {
             qWarning() << "ProviderManager::addProviderFile: could not open 
provider file: " << url.toString();
             return;


Reply via email to