[neon/neon-packaging/plasma-pass/Neon/release] debian/patches: update patch
Jonathan Riddell
null at kde.org
Mon Nov 9 15:04:21 GMT 2020
Git commit e9a4994b517ff7a3e69b21036aa87ea6201dd4be by Jonathan Riddell.
Committed on 09/11/2020 at 15:03.
Pushed by jriddell into branch 'Neon/release'.
update patch
M +1 -10 debian/patches/qt5.15.diff
https://invent.kde.org/neon/neon-packaging/plasma-pass/commit/e9a4994b517ff7a3e69b21036aa87ea6201dd4be
diff --git a/debian/patches/qt5.15.diff b/debian/patches/qt5.15.diff
index 3660669..358ec28 100644
--- a/debian/patches/qt5.15.diff
+++ b/debian/patches/qt5.15.diff
@@ -8,15 +8,6 @@ Index: plasma-pass-1.1.0/plugin/passwordfiltermodel.cpp
===================================================================
--- plasma-pass-1.1.0.orig/plugin/passwordfiltermodel.cpp
+++ plasma-pass-1.1.0/plugin/passwordfiltermodel.cpp
-@@ -53,7 +53,7 @@ void PasswordFilterModel::setSourceModel
- mFlatModel->setSourceModel(sourceModel);
-
- if (!this->sourceModel()) {
-- QSortFilterProxyModel::setSourceModel(mFlatModel);
-+ QSortFilterProxyModel::setSourceModel(mFlatModel);
- }
- }
-
@@ -79,7 +79,11 @@ void PasswordFilterModel::delayedUpdateF
Q_ASSERT(sender() == &mUpdateTimer);
@@ -24,7 +15,7 @@ Index: plasma-pass-1.1.0/plugin/passwordfiltermodel.cpp
+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
mParts = mFilter.splitRef(QLatin1Char('/'), QString::SkipEmptyParts);
+#else
-+ mParts = mfilter.splitRef(QLatin1Char('/'), Qt::SkipEmptyParts);
++ mParts = mFilter.splitRef(QLatin1Char('/'), Qt::SkipEmptyParts);
+#endif
Q_EMIT passwordFilterChanged();
mSortingLookup.clear();
More information about the Neon-commits
mailing list