diff options
| author | Christian Stenger <christian.stenger@theqtcompany.com> | 2015-01-29 08:00:52 +0100 |
|---|---|---|
| committer | Christian Stenger <christian.stenger@theqtcompany.com> | 2015-01-29 08:25:33 +0000 |
| commit | 401d66764cca2de3b9aaa5c2bf4b485f0fbf01c3 (patch) | |
| tree | 822679b1d0443a0a79a11e67d855a64e71362c93 /src | |
| parent | 672874170207509f39672852262055f2ffe1a405 (diff) | |
| download | qt-creator-401d66764cca2de3b9aaa5c2bf4b485f0fbf01c3.tar.gz | |
DiffEditor: Compile fix for Qt version less than 5.4
Introduced with ae6730d76d8a8191e69ed6754cb1efbde4b31ce7.
Change-Id: Ie12606ed18397d5b296d9c89ef8ce0c31e3991f3
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/plugins/diffeditor/sidebysidediffeditorwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/diffeditor/sidebysidediffeditorwidget.cpp b/src/plugins/diffeditor/sidebysidediffeditorwidget.cpp index 25dca6ec06..957050f7e7 100644 --- a/src/plugins/diffeditor/sidebysidediffeditorwidget.cpp +++ b/src/plugins/diffeditor/sidebysidediffeditorwidget.cpp @@ -568,7 +568,7 @@ void SideDiffEditorWidget::contextMenuEvent(QContextMenuEvent *e) emit contextMenuRequested(menu, fileIndexForBlockNumber(blockNumber), chunkIndexForBlockNumber(blockNumber)); - connect(this, &SideDiffEditorWidget::destroyed, menu, &QMenu::deleteLater); + connect(this, &SideDiffEditorWidget::destroyed, menu.data(), &QMenu::deleteLater); menu->exec(e->globalPos()); delete menu; } |
