summaryrefslogtreecommitdiff
path: root/kde-misc/plasma-pass/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-13 10:39:22 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-13 10:39:22 +0100
commit9452a6e87b6c2c70513bc47a2470bf9f1168920e (patch)
tree8ac67e26b45f34d71c5aab3621813b100a0d5f00 /kde-misc/plasma-pass/files
parentf516638b7fe9592837389826a6152a7e1b251c54 (diff)
gentoo resync : 13.06.2020
Diffstat (limited to 'kde-misc/plasma-pass/files')
-rw-r--r--kde-misc/plasma-pass/files/plasma-pass-1.1.0-qt-5.15.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/kde-misc/plasma-pass/files/plasma-pass-1.1.0-qt-5.15.patch b/kde-misc/plasma-pass/files/plasma-pass-1.1.0-qt-5.15.patch
new file mode 100644
index 000000000000..ea67cf18dd21
--- /dev/null
+++ b/kde-misc/plasma-pass/files/plasma-pass-1.1.0-qt-5.15.patch
@@ -0,0 +1,29 @@
+From 3fb633159ca4a1db166d5c54bbc025f71aba1652 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20Vr=C3=A1til?= <dvratil@kde.org>
+Date: Thu, 9 Apr 2020 12:48:53 +0200
+Subject: Fix build against Qt 5.15
+
+* asturm 2020-06-07: Rebased for 1.1.0
+
+---
+ plugin/passwordfiltermodel.cpp | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/plugin/passwordfiltermodel.cpp b/plugin/passwordfiltermodel.cpp
+index e815797..2d323ad 100644
+--- a/plugin/passwordfiltermodel.cpp 2019-12-06 07:59:15.000000000 +0100
++++ b/plugin/passwordfiltermodel.cpp 2020-06-07 11:22:23.310950571 +0200
+@@ -79,7 +79,11 @@
+ 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();
+--
+cgit v1.1