FreeBSD Bugzilla – Attachment 189221 Details for
Bug 224718
x11/qterminal exits with signal 11 when renaming the session (tab)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix getting tabindex by contextmenu and tabAt
patch-src_tabwidget.cpp (text/plain), 483 bytes, created by
Jesper Schmitz Mouridsen
on 2017-12-30 14:40:51 UTC
(
hide
)
Description:
Patch to fix getting tabindex by contextmenu and tabAt
Filename:
MIME Type:
Creator:
Jesper Schmitz Mouridsen
Created:
2017-12-30 14:40:51 UTC
Size:
483 bytes
patch
obsolete
>--- src/tabwidget.cpp.orig 2017-12-30 14:34:29 UTC >+++ src/tabwidget.cpp >@@ -217,7 +217,7 @@ void TabWidget::contextMenuEvent(QContex > rename->setShortcut(actions[RENAME_SESSION]->shortcut()); > rename->blockSignals(true); > >- int tabIndex = tabBar()->tabAt(event->pos()); >+ int tabIndex = tabBar()->tabAt(tabBar()->mapFrom(this,event->pos())); > QAction *action = menu.exec(event->globalPos()); > if (action == close) { > emit tabCloseRequested(tabIndex);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 224718
: 189221