Hello community,

here is the log from the commit of package krunner for openSUSE:Factory checked 
in at 2018-10-22 11:15:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/krunner (Old)
 and      /work/SRC/openSUSE:Factory/.krunner.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "krunner"

Mon Oct 22 11:15:13 2018 rev:56 rq:642343 version:5.51.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/krunner/krunner.changes  2018-10-01 
08:09:04.378267511 +0200
+++ /work/SRC/openSUSE:Factory/.krunner.new/krunner.changes     2018-10-22 
11:15:18.695657654 +0200
@@ -1,0 +2,22 @@
+Tue Oct 16 08:02:35 UTC 2018 - Luca Beltrame <[email protected]>
+
+- Run spec-cleaner
+
+-------------------------------------------------------------------
+Mon Oct 15 11:50:38 UTC 2018 - [email protected]
+
+- Update to 5.51.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/kde-frameworks-5.51.0.php
+- Changes since 5.50.0:
+  * Add strict compile flags
+  * Use QStringLiteral here
+  * Avoid potential detach on range-loops with non-const Qt containers
+  * API dox: 0 -> nullptr
+  * Use directly KDEFrameworkCompilerSettings and clean up
+  * Remove extra ;
+  * Make it compiles with strict compile flags
+  * Fix minor EBN issues
+
+-------------------------------------------------------------------

Old:
----
  krunner-5.50.0.tar.xz

New:
----
  krunner-5.51.0.tar.xz

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

Other differences:
------------------
++++++ krunner.spec ++++++
--- /var/tmp/diff_new_pack.h0bh6K/_old  2018-10-22 11:15:20.823655356 +0200
+++ /var/tmp/diff_new_pack.h0bh6K/_new  2018-10-22 11:15:20.839655339 +0200
@@ -12,23 +12,23 @@
 # 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/
 #
 
 
 %define lname   libKF5Runner5
-%define _tar_path 5.50
+%define _tar_path 5.51
 # Full KF5 version (e.g. 5.33.0)
 %{!?_kf5_version: %global _kf5_version %{version}}
 # Last major and minor KF5 version (e.g. 5.33)
 %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | 
awk -F. '{print $1"."$2}')}
 Name:           krunner
-Version:        5.50.0
+Version:        5.51.0
 Release:        0
 Summary:        Plugins responsible for better integration of Qt applications 
in KDE Workspace
 License:        LGPL-2.1-or-later
 Group:          System/GUI/KDE
-URL:            http://www.kde.org
+URL:            https://www.kde.org
 Source:         
http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
 Source1:        baselibs.conf
 BuildRequires:  cmake >= 3.0

++++++ krunner-5.50.0.tar.xz -> krunner-5.51.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.50.0/CMakeLists.txt 
new/krunner-5.51.0/CMakeLists.txt
--- old/krunner-5.50.0/CMakeLists.txt   2018-09-01 00:24:00.000000000 +0200
+++ new/krunner-5.51.0/CMakeLists.txt   2018-10-07 12:08:53.000000000 +0200
@@ -1,12 +1,12 @@
 cmake_minimum_required(VERSION 3.0)
 
-set(KF5_VERSION "5.50.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.50.0") # handled by release scripts
+set(KF5_VERSION "5.51.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.51.0") # handled by release scripts
 project(KRunner VERSION ${KF5_VERSION})
 
 # ECM setup
 include(FeatureSummary)
-find_package(ECM 5.50.0  NO_MODULE)
+find_package(ECM 5.51.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)
 
@@ -19,7 +19,7 @@
 include(ECMAddQch)
 include(CMakePackageConfigHelpers)
 include(KDEInstallDirs)
-include(KDECompilerSettings NO_POLICY_SCOPE)
+include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
 include(KDECMakeSettings)
 include(KDEPackageAppTemplates)
 include(ECMQtDeclareLoggingCategory)
@@ -53,6 +53,7 @@
     list(APPEND CMAKE_AUTOMOC_MACRO_NAMES ${KRunner_AUTOMOC_MACRO_NAMES})
 endif()
 
+
 # Subdirectories
 add_subdirectory(src)
 if (BUILD_TESTING)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.50.0/autotests/dbusrunnertest.cpp 
new/krunner-5.51.0/autotests/dbusrunnertest.cpp
--- old/krunner-5.50.0/autotests/dbusrunnertest.cpp     2018-09-01 
00:24:00.000000000 +0200
+++ new/krunner-5.51.0/autotests/dbusrunnertest.cpp     2018-10-07 
12:08:53.000000000 +0200
@@ -62,7 +62,7 @@
 {
     // Set up a layer in the bin dir so ksycoca finds the Plasma/Runner 
service type
     const QByteArray defaultDataDirs = 
qEnvironmentVariableIsSet("XDG_DATA_DIRS") ? qgetenv("XDG_DATA_DIRS") : 
QByteArray("/usr/local:/usr");
-    const QByteArray modifiedDataDirs = 
QFile::encodeName(QCoreApplication::applicationDirPath()) + "/data:" + 
defaultDataDirs;
+    const QByteArray modifiedDataDirs = 
QFile::encodeName(QCoreApplication::applicationDirPath()) + 
QByteArrayLiteral("/data:") + defaultDataDirs;
     qputenv("XDG_DATA_DIRS", modifiedDataDirs);
 
     QStandardPaths::setTestModeEnabled(true);
@@ -91,7 +91,7 @@
 void DBusRunnerTest::testMatch()
 {
     QProcess process;
-    process.start(QFINDTESTDATA("testremoterunner"), 
QStringList({"net.krunnertests.dave"}));
+    process.start(QFINDTESTDATA("testremoterunner"), 
QStringList({QStringLiteral("net.krunnertests.dave")}));
     QVERIFY(process.waitForStarted());
 
     QTest::qSleep(500);
@@ -114,7 +114,7 @@
     QCOMPARE(result.text(), QStringLiteral("Match 1"));
     QCOMPARE(result.iconName(), QStringLiteral("icon1"));
     QCOMPARE(result.type(), Plasma::QueryMatch::ExactMatch);
-    //relevance can't be compared easily becuase RunnerContext meddles with it
+    //relevance can't be compared easily because RunnerContext meddles with it
 
     //verify actions
     auto actions = m.actionsForMatch(result);
@@ -140,11 +140,11 @@
 void DBusRunnerTest::testMulti()
 {
     QProcess process1;
-    process1.start(QFINDTESTDATA("testremoterunner"), 
QStringList({"net.krunnertests.multi.a1"}));
+    process1.start(QFINDTESTDATA("testremoterunner"), 
QStringList({QStringLiteral("net.krunnertests.multi.a1")}));
     QVERIFY(process1.waitForStarted());
 
     QProcess process2;
-    process2.start(QFINDTESTDATA("testremoterunner"), 
QStringList({"net.krunnertests.multi.a2"}));
+    process2.start(QFINDTESTDATA("testremoterunner"), 
QStringList({QStringLiteral("net.krunnertests.multi.a2")}));
     QVERIFY(process2.waitForStarted());
 
     QTest::qSleep(500);
@@ -164,8 +164,8 @@
     QString first = m.matches().at(0).data().toString();
     QString second = m.matches().at(1).data().toString();
     QVERIFY(first != second);
-    QVERIFY(first == "net.krunnertests.multi.a1" || first == 
"net.krunnertests.multi.a2");
-    QVERIFY(second == "net.krunnertests.multi.a1" || second == 
"net.krunnertests.multi.a2");
+    QVERIFY(first == QStringLiteral("net.krunnertests.multi.a1") || first == 
QStringLiteral("net.krunnertests.multi.a2"));
+    QVERIFY(second == QStringLiteral("net.krunnertests.multi.a1") || second == 
QStringLiteral("net.krunnertests.multi.a2"));
 
     process1.kill();
     process2.kill();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.50.0/autotests/runnercontexttest.h 
new/krunner-5.51.0/autotests/runnercontexttest.h
--- old/krunner-5.50.0/autotests/runnercontexttest.h    2018-09-01 
00:24:00.000000000 +0200
+++ new/krunner-5.51.0/autotests/runnercontexttest.h    2018-10-07 
12:08:53.000000000 +0200
@@ -17,7 +17,8 @@
 *   Boston, MA 02110-1301, USA.                                               *
 
*******************************************************************************/
 
-#ifndef PACKAGEMETADATATEST_H
+#ifndef RUNNER_CONTEXT_TEST_H
+#define RUNNER_CONTEXT_TEST_H
 
 #include <QtTest>
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.50.0/autotests/testremoterunner.cpp 
new/krunner-5.51.0/autotests/testremoterunner.cpp
--- old/krunner-5.50.0/autotests/testremoterunner.cpp   2018-09-01 
00:24:00.000000000 +0200
+++ new/krunner-5.51.0/autotests/testremoterunner.cpp   2018-10-07 
12:08:53.000000000 +0200
@@ -16,12 +16,13 @@
  *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  */
 
+#include "testremoterunner.h"
+
 #include <QCoreApplication>
 #include <QDBusConnection>
 
 #include <iostream>
 
-#include "testremoterunner.h"
 #include "krunner1adaptor.h"
 
 //Test DBus runner, if the search term contains "foo" it returns a match, 
otherwise nothing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.50.0/src/abstractrunner.cpp 
new/krunner-5.51.0/src/abstractrunner.cpp
--- old/krunner-5.50.0/src/abstractrunner.cpp   2018-09-01 00:24:00.000000000 
+0200
+++ new/krunner-5.51.0/src/abstractrunner.cpp   2018-10-07 12:08:53.000000000 
+0200
@@ -18,6 +18,7 @@
  */
 
 #include "abstractrunner.h"
+#include "abstractrunner_p.h"
 
 #include <QAction>
 #include <QHash>
@@ -35,7 +36,6 @@
 #include <Plasma/PluginLoader>
 #include <qstandardpaths.h>
 
-#include "abstractrunner_p.h"
 #include "querymatch.h"
 #include "runnercontext.h"
 
@@ -382,7 +382,7 @@
 
 void AbstractRunnerPrivate::init(const QString &path)
 {
-    runnerDescription = KPluginInfo(path + "/metadata.desktop");
+    runnerDescription = KPluginInfo(path + 
QStringLiteral("/metadata.desktop"));
     const QString api = 
runnerDescription.property(QStringLiteral("X-Plasma-API")).toString();
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.50.0/src/abstractrunner.h 
new/krunner-5.51.0/src/abstractrunner.h
--- old/krunner-5.50.0/src/abstractrunner.h     2018-09-01 00:24:00.000000000 
+0200
+++ new/krunner-5.51.0/src/abstractrunner.h     2018-10-07 12:08:53.000000000 
+0200
@@ -265,7 +265,7 @@
         QList<RunnerSyntax> syntaxes() const;
 
         /**
-         * @return the default syntax for the runner or 0 if no default syntax 
has been defined
+         * @return the default syntax for the runner or @c nullptr if no 
default syntax has been defined
          *
          * @since 4.4
          */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.50.0/src/dbusrunner.cpp 
new/krunner-5.51.0/src/dbusrunner.cpp
--- old/krunner-5.50.0/src/dbusrunner.cpp       2018-09-01 00:24:00.000000000 
+0200
+++ new/krunner-5.51.0/src/dbusrunner.cpp       2018-10-07 12:08:53.000000000 
+0200
@@ -57,9 +57,10 @@
     if (requestedServiceName.endsWith(QLatin1Char('*'))) {
         requestedServiceName.chop(1);
         //find existing matching names
-        auto names = 
QDBusConnection::sessionBus().interface()->registeredServiceNames();
-        if (names.isValid()) {
-            for(const QString serviceName : names.value()) {
+        auto namesReply = 
QDBusConnection::sessionBus().interface()->registeredServiceNames();
+        if (namesReply.isValid()) {
+            const auto names = namesReply.value();
+            for (const QString& serviceName : names) {
                 if (serviceName.startsWith(requestedServiceName)) {
                     m_matchingServices << serviceName;
                 }
@@ -101,7 +102,7 @@
     //in the multi-services case, register separate actions from each plugin 
in case they happen to be somehow different
     //then match together in matchForAction()
 
-    for (const QString &service: m_matchingServices) {
+    for (const QString &service: qAsConst(m_matchingServices)) {
         auto getActionsMethod = QDBusMessage::createMethodCall(service, 
m_path, QStringLiteral(IFACE_NAME), QStringLiteral("Actions"));
         QDBusPendingReply<RemoteActions> reply = 
QDBusConnection::sessionBus().asyncCall(getActionsMethod);
 
@@ -112,7 +113,8 @@
             if (!reply.isValid()) {
                 return;
             }
-            for(const RemoteAction &action: reply.value()) {
+            const auto actions = reply.value();
+            for(const RemoteAction &action: actions) {
                 auto a = addAction(action.id, 
QIcon::fromTheme(action.iconName), action.text);
                 a->setData(action.id);
                 m_actions[service].append(a);
@@ -131,7 +133,7 @@
     //we scope watchers to make sure the lambda that captures context by 
reference definitely gets disconnected when this function ends
     QList<QSharedPointer<QDBusPendingCallWatcher>> watchers;
 
-    for (const QString service : services) {
+    for (const QString& service : qAsConst(services)) {
         auto matchMethod = QDBusMessage::createMethodCall(service, m_path, 
QStringLiteral(IFACE_NAME), QStringLiteral("Match"));
         matchMethod.setArguments(QList<QVariant>({context.query()}));
         QDBusPendingReply<RemoteMatches> reply = 
QDBusConnection::sessionBus().asyncCall(matchMethod);
@@ -143,7 +145,8 @@
                 qCDebug(KRUNNER) << "Error calling" << service << " :" << 
reply.error().name() << reply.error().message();
                 return;
             }
-            for(const RemoteMatch &match: reply.value()) {
+            const auto matches = reply.value();
+            for(const RemoteMatch &match: matches) {
                 Plasma::QueryMatch m(this);
 
                 m.setText(match.text);
@@ -163,7 +166,7 @@
         }, Qt::DirectConnection); // process reply in the watcher's thread 
(aka the one running ::match  not the one owning the runner)
     }
     //we're done matching when every service replies
-    for (auto w : watchers) {
+    for (auto w : qAsConst(watchers)) {
         w->waitForFinished();
     }
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.50.0/src/dbusutils_p.h 
new/krunner-5.51.0/src/dbusutils_p.h
--- old/krunner-5.50.0/src/dbusutils_p.h        2018-09-01 00:24:00.000000000 
+0200
+++ new/krunner-5.51.0/src/dbusutils_p.h        2018-10-07 12:08:53.000000000 
+0200
@@ -74,8 +74,8 @@
     return argument;
 }
 
-Q_DECLARE_METATYPE(RemoteMatch);
-Q_DECLARE_METATYPE(RemoteMatches);
-Q_DECLARE_METATYPE(RemoteAction);
-Q_DECLARE_METATYPE(RemoteActions);
+Q_DECLARE_METATYPE(RemoteMatch)
+Q_DECLARE_METATYPE(RemoteMatches)
+Q_DECLARE_METATYPE(RemoteAction)
+Q_DECLARE_METATYPE(RemoteActions)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.50.0/src/declarative/runnermodelplugin.cpp 
new/krunner-5.51.0/src/declarative/runnermodelplugin.cpp
--- old/krunner-5.50.0/src/declarative/runnermodelplugin.cpp    2018-09-01 
00:24:00.000000000 +0200
+++ new/krunner-5.51.0/src/declarative/runnermodelplugin.cpp    2018-10-07 
12:08:53.000000000 +0200
@@ -30,7 +30,7 @@
 void RunnerModelPlugin::registerTypes(const char *uri)
 {
     qCWarning(KRUNNER) << "Using deprecated import org.kde.runnermodel, please 
port to org.kde.plasma.core";
-    Q_ASSERT(uri == QLatin1String("org.kde.runnermodel"));
+    Q_ASSERT(QLatin1String(uri) == QLatin1String("org.kde.runnermodel"));
     qmlRegisterType<RunnerModel>(uri, 2, 0, "RunnerModel");
     qmlRegisterInterface<Plasma::QueryMatch>("QueryMatch");
     qRegisterMetaType<Plasma::QueryMatch *>("QueryMatch");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.50.0/src/querymatch.cpp 
new/krunner-5.51.0/src/querymatch.cpp
--- old/krunner-5.50.0/src/querymatch.cpp       2018-09-01 00:24:00.000000000 
+0200
+++ new/krunner-5.51.0/src/querymatch.cpp       2018-10-07 12:08:53.000000000 
+0200
@@ -195,7 +195,7 @@
     }
 
     if (!id.isEmpty()) {
-        d->id.append('_').append(id);
+        d->id.append(QLatin1Char('_')).append(id);
     }
 
     d->idSetByData = false;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.50.0/src/querymatch.h 
new/krunner-5.51.0/src/querymatch.h
--- old/krunner-5.50.0/src/querymatch.h 2018-09-01 00:24:00.000000000 +0200
+++ new/krunner-5.51.0/src/querymatch.h 2018-10-07 12:08:53.000000000 +0200
@@ -157,7 +157,7 @@
          * AbstractRunner.
          *
          * When set, it is also used to form
-         * part of the id() for this match. If that is innapropriate
+         * part of the id() for this match. If that is inappropriate
          * as an id, the runner may generate its own id and set that
          * with setId(const QString&) directly after calling setData
          */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.50.0/src/runnercontext.cpp 
new/krunner-5.51.0/src/runnercontext.cpp
--- old/krunner-5.50.0/src/runnercontext.cpp    2018-09-01 00:24:00.000000000 
+0200
+++ new/krunner-5.51.0/src/runnercontext.cpp    2018-10-07 12:08:53.000000000 
+0200
@@ -190,7 +190,7 @@
             type = RunnerContext::UnknownType;
             QString path = QDir::cleanPath(KShell::tildeExpand(term));
 
-            int space = path.indexOf(' ');
+            int space = path.indexOf(QLatin1Char(' '));
             if (!QStandardPaths::findExecutable(path.left(space)).isEmpty()) {
                 // it's a shell command if there's a space because that implies
                 // that it has arguments!
@@ -219,7 +219,7 @@
                     // it's too ambiguous to be sure we're in a filesystem 
context
                     path = QDir::cleanPath(url.toLocalFile());
                     //qCDebug(KRUNNER)<< "slash check" << path;
-                    if (hasProtocol || ((path.indexOf('/') != -1 || 
path.indexOf('\\') != -1))) {
+                    if (hasProtocol || ((path.indexOf(QLatin1Char('/')) != -1 
|| path.indexOf(QLatin1Char('\\')) != -1))) {
                         QString correctCasePath;
                         if (correctPathCase(path, correctCasePath)) {
                             path = correctCasePath;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.50.0/src/runnercontext.h 
new/krunner-5.51.0/src/runnercontext.h
--- old/krunner-5.50.0/src/runnercontext.h      2018-09-01 00:24:00.000000000 
+0200
+++ new/krunner-5.51.0/src/runnercontext.h      2018-10-07 12:08:53.000000000 
+0200
@@ -136,7 +136,7 @@
          *     ... some processing ...
          * }
          *
-         * While not required to be used within runners, it provies a nice way
+         * While not required to be used within runners, it provides a nice way
          * to avoid unnecessary processing in runners that may run for an 
extended
          * period (as measured in 10s of ms) and therefore improve the user 
experience. 
          * @since 4.2.3
@@ -209,7 +209,7 @@
          *
          * @param id the id of the match to return
          * @return the match associated with this id, or an invalid QueryMatch 
object
-         *         if the id does not eixst
+         *         if the id does not exist
          */
         QueryMatch match(const QString &id) const;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.50.0/src/runnermanager.cpp 
new/krunner-5.51.0/src/runnermanager.cpp
--- old/krunner-5.50.0/src/runnermanager.cpp    2018-09-01 00:24:00.000000000 
+0200
+++ new/krunner-5.51.0/src/runnermanager.cpp    2018-10-07 12:08:53.000000000 
+0200
@@ -691,9 +691,9 @@
 {
     QString constraint;
     if (parentApp.isEmpty()) {
-        constraint.append("not exist [X-KDE-ParentApp]");
+        constraint.append(QStringLiteral("not exist [X-KDE-ParentApp]"));
     } else {
-        constraint.append("[X-KDE-ParentApp] == 
'").append(parentApp).append("'");
+        constraint.append(QStringLiteral("[X-KDE-ParentApp] == 
'")).append(parentApp).append(QStringLiteral("'"));
     }
 
     KService::List offers = 
KServiceTypeTrader::self()->query(QStringLiteral("Plasma/Runner"), constraint);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.50.0/src/runnermanager.h 
new/krunner-5.51.0/src/runnermanager.h
--- old/krunner-5.50.0/src/runnermanager.h      2018-09-01 00:24:00.000000000 
+0200
+++ new/krunner-5.51.0/src/runnermanager.h      2018-10-07 12:08:53.000000000 
+0200
@@ -249,7 +249,7 @@
         void matchSessionComplete();
 
         /**
-         * Launch a query, this will create threads and return inmediately.
+         * Launch a query, this will create threads and return immediately.
          * When the information will be available can be known using the
          * matchesChanged signal.
          *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.50.0/src/runnersyntax.cpp 
new/krunner-5.51.0/src/runnersyntax.cpp
--- old/krunner-5.50.0/src/runnersyntax.cpp     2018-09-01 00:24:00.000000000 
+0200
+++ new/krunner-5.51.0/src/runnersyntax.cpp     2018-10-07 12:08:53.000000000 
+0200
@@ -72,7 +72,7 @@
 QStringList RunnerSyntax::exampleQueriesWithTermDescription() const
 {
     QStringList queries;
-    const QString termDesc('<' + searchTermDescription() + '>');
+    const QString termDesc(QLatin1Char('<') + searchTermDescription() + 
QLatin1Char('>'));
     foreach (QString query, d->exampleQueries) {
         queries << query.replace(QStringLiteral(":q:"), termDesc);
     }
@@ -88,7 +88,7 @@
 QString RunnerSyntax::description() const
 {
     QString description = d->description;
-    description.replace(QLatin1String(":q:"), '<' + searchTermDescription() + 
'>');
+    description.replace(QLatin1String(":q:"), QLatin1Char('<') + 
searchTermDescription() + QLatin1Char('>'));
     return description;
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.50.0/templates/runner/CMakeLists.txt 
new/krunner-5.51.0/templates/runner/CMakeLists.txt
--- old/krunner-5.50.0/templates/runner/CMakeLists.txt  2018-09-01 
00:24:00.000000000 +0200
+++ new/krunner-5.51.0/templates/runner/CMakeLists.txt  2018-10-07 
12:08:53.000000000 +0200
@@ -12,7 +12,7 @@
 
 include(KDEInstallDirs)
 include(KDECMakeSettings)
-include(KDECompilerSettings NO_POLICY_SCOPE)
+include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
 include(FeatureSummary)
 
 add_subdirectory(src)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/krunner-5.50.0/templates/runner/src/%{APPNAMELC}.cpp 
new/krunner-5.51.0/templates/runner/src/%{APPNAMELC}.cpp
--- old/krunner-5.50.0/templates/runner/src/%{APPNAMELC}.cpp    2018-09-01 
00:24:00.000000000 +0200
+++ new/krunner-5.51.0/templates/runner/src/%{APPNAMELC}.cpp    2018-10-07 
12:08:53.000000000 +0200
@@ -23,7 +23,7 @@
 %{APPNAME}::%{APPNAME}(QObject *parent, const QVariantList &args)
     : Plasma::AbstractRunner(parent, args)
 {
-    setObjectName("%{APPNAME}");
+    setObjectName(QStringLiteral("%{APPNAME}"));
 }
 
 %{APPNAME}::~%{APPNAME}()


Reply via email to