diff options
Diffstat (limited to 'kde-frameworks/kcompletion')
| -rw-r--r-- | kde-frameworks/kcompletion/files/kcompletion-5.78.0-fix-klineedit.patch | 27 | ||||
| -rw-r--r-- | kde-frameworks/kcompletion/kcompletion-5.78.0-r1.ebuild (renamed from kde-frameworks/kcompletion/kcompletion-5.78.0.ebuild) | 2 |
2 files changed, 29 insertions, 0 deletions
diff --git a/kde-frameworks/kcompletion/files/kcompletion-5.78.0-fix-klineedit.patch b/kde-frameworks/kcompletion/files/kcompletion-5.78.0-fix-klineedit.patch new file mode 100644 index 000000000000..0dd7ace61cd9 --- /dev/null +++ b/kde-frameworks/kcompletion/files/kcompletion-5.78.0-fix-klineedit.patch @@ -0,0 +1,27 @@ +From 7acda936f06193e9fc85ae5cf9ccc8d65971f657 Mon Sep 17 00:00:00 2001 +From: Albert Astals Cid <aacid@kde.org> +Date: Tue, 12 Jan 2021 23:43:19 +0100 +Subject: [PATCH] Fix regression caused due to porting from operator+ to + operator| + +BUGS: 431493 +--- + src/klineedit.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/klineedit.cpp b/src/klineedit.cpp +index 1cc9316..8201259 100644 +--- a/src/klineedit.cpp ++++ b/src/klineedit.cpp +@@ -1222,7 +1222,7 @@ bool KLineEditPrivate::overrideShortcut(const QKeyEvent *e) + // but doesn't dare force as "stronger than kaction shortcuts"... + else if (e->matches(QKeySequence::SelectAll)) { + return true; +- } else if (qApp->platformName() == QLatin1String("xcb") && (key == Qt::CTRL | Qt::Key_E || key == Qt::CTRL | Qt::Key_U)) { ++ } else if (qApp->platformName() == QLatin1String("xcb") && (key == (Qt::CTRL | Qt::Key_E) || key == (Qt::CTRL | Qt::Key_U))) { + return true; + } + +-- +GitLab + diff --git a/kde-frameworks/kcompletion/kcompletion-5.78.0.ebuild b/kde-frameworks/kcompletion/kcompletion-5.78.0-r1.ebuild index 3381e8ca5305..e75d75f2fc92 100644 --- a/kde-frameworks/kcompletion/kcompletion-5.78.0.ebuild +++ b/kde-frameworks/kcompletion/kcompletion-5.78.0-r1.ebuild @@ -25,6 +25,8 @@ DEPEND=" " RDEPEND="${DEPEND}" +PATCHES=( "${FILESDIR}/${P}-fix-klineedit.patch" ) # KDE-Bug 431493 + src_configure() { local mycmakeargs=( -DCMAKE_DISABLE_FIND_PACKAGE_PythonModuleGeneration=ON # bug 746866 |
