You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qterminal-packaging/debian/patches/fix-memory-api.patch

20 lines
733 B

Description: Adapt to API changes
This adapts to API changes in qtermwidget which were made when fixing a
memory problem when right-clicking on links.
Author: Yen Chi Hsuan <yan12125@gmail.com>
Origin: upstream
Bug: https://github.com/lxqt/qterminal/issues/358
Applied-Upstream: commit:cbdb9e2
Last-Update: 2018-07-10
--- a/src/termwidget.cpp
+++ b/src/termwidget.cpp
@@ -137,7 +137,7 @@ void TermWidgetImpl::customContextMenuCa
QMenu menu;
QMap<QString, QAction*> actions = findParent<MainWindow>(this)->leaseActions();
- QList<QAction*> extraActions = filterActions(pos);
+ QList<QAction*> extraActions = filterActions(pos, &menu);
for (auto& action : extraActions)
{
menu.addAction(action);