aboutsummaryrefslogtreecommitdiff
path: root/sysutils/plasma-pass
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2020-06-06 14:13:24 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2020-06-06 14:13:24 +0000
commit8f7411f4bd3ff6ace8c32500bb75cc702f90102c (patch)
tree0a139d94886d3a6cd759d75cf0054a5519e00ad2 /sysutils/plasma-pass
parentd4af629ef11f92173c101d5cae9e9bf401ada7cd (diff)
downloadports-8f7411f4bd3ff6ace8c32500bb75cc702f90102c.tar.gz
ports-8f7411f4bd3ff6ace8c32500bb75cc702f90102c.zip
sysutils/plasma-pass: prepare for Qt5-5.15
Notes
Notes: svn path=/head/; revision=538092
Diffstat (limited to 'sysutils/plasma-pass')
-rw-r--r--sysutils/plasma-pass/files/patch-plugin_passwordfiltermodel.cpp16
1 files changed, 16 insertions, 0 deletions
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 000000000000..621d3530ddb3
--- /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();