Commit 401d6676 authored by Christian Stenger's avatar Christian Stenger
Browse files

DiffEditor: Compile fix for Qt version less than 5.4

Introduced with ae6730d7


Change-Id: Ie12606ed18397d5b296d9c89ef8ce0c31e3991f3
Reviewed-by: default avatarJarek Kobus <>
parent 67287417
...@@ -568,7 +568,7 @@ void SideDiffEditorWidget::contextMenuEvent(QContextMenuEvent *e) ...@@ -568,7 +568,7 @@ void SideDiffEditorWidget::contextMenuEvent(QContextMenuEvent *e)
emit contextMenuRequested(menu, fileIndexForBlockNumber(blockNumber), emit contextMenuRequested(menu, fileIndexForBlockNumber(blockNumber),
chunkIndexForBlockNumber(blockNumber)); chunkIndexForBlockNumber(blockNumber));
connect(this, &SideDiffEditorWidget::destroyed, menu, &QMenu::deleteLater); connect(this, &SideDiffEditorWidget::destroyed,, &QMenu::deleteLater);
menu->exec(e->globalPos()); menu->exec(e->globalPos());
delete menu; delete menu;
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment