mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
sysutils/plasma-pass: prepare for Qt5-5.15
This commit is contained in:
parent
d4af629ef1
commit
8f7411f4bd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=538092
1 changed files with 16 additions and 0 deletions
|
@ -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();
|
Loading…
Add table
Reference in a new issue