From 643ea0f53f6f7e13df6e6ced6b8006d31f37b909 Mon Sep 17 00:00:00 2001 From: DPorts Builder Date: Sat, 20 Jun 2020 20:21:37 -0700 Subject: [PATCH] Tweak sysutils/plasma-pass version 1.1.0 --- .../files/patch-plugin_passwordfiltermodel.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sysutils/plasma-pass/files/patch-plugin_passwordfiltermodel.cpp diff --git a/sysutils/plasma-pass/files/patch-plugin_passwordfiltermodel.cpp b/sysutils/plasma-pass/files/patch-plugin_passwordfiltermodel.cpp new file mode 100644 index 00000000000..621d3530ddb --- /dev/null +++ b/sysutils/plasma-pass/files/patch-plugin_passwordfiltermodel.cpp @@ -0,0 +1,16 @@ +Obtained from: https://github.com/KDE/plasma-pass/commit/3fb633159ca4a1db166d5c54bbc025f71aba1652 + +--- plugin/passwordfiltermodel.cpp.orig 2020-06-06 09:37:44 UTC ++++ plugin/passwordfiltermodel.cpp +@@ -79,7 +79,11 @@ void PasswordFilterModel::delayedUpdateFilter() + Q_ASSERT(sender() == &mUpdateTimer); + + mFilter = mUpdateTimer.property(newFilterProperty).toString(); ++#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) + mParts = mFilter.splitRef(QLatin1Char('/'), QString::SkipEmptyParts); ++#else ++ mParts = mFilter.splitRef(QLatin1Char('/'), Qt::SkipEmptyParts); ++#endif + Q_EMIT passwordFilterChanged(); + mSortingLookup.clear(); + invalidate(); -- 2.41.0