aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppeditor/cpplocalrenaming.h
diff options
context:
space:
mode:
authorTakumi ASAKI <asaki@sra.co.jp>2015-07-01 13:22:18 +0900
committerDavid Schulz <david.schulz@theqtcompany.com>2015-07-01 09:18:06 +0000
commitb36924c0e6afb5e7e4bf816e88a0f4d4aca51afa (patch)
tree24f2433a50e51645d3c9256493bdf23121789f74 /src/plugins/cppeditor/cpplocalrenaming.h
parent5088f07f397648258105195fa6e3424d0b3d47c1 (diff)
CppEditor: Fix inserting completion while in (local) rename mode
Fixes case 1 of QTCREATORBUG-14633. Task-number: QTCREATORBUG-14633 Change-Id: I1f57b8f831613668b85948f4ec588c4cf441b633 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Diffstat (limited to 'src/plugins/cppeditor/cpplocalrenaming.h')
-rw-r--r--src/plugins/cppeditor/cpplocalrenaming.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/cppeditor/cpplocalrenaming.h b/src/plugins/cppeditor/cpplocalrenaming.h
index de6fd9ecf9..b23e4c5f5d 100644
--- a/src/plugins/cppeditor/cpplocalrenaming.h
+++ b/src/plugins/cppeditor/cpplocalrenaming.h
@@ -61,6 +61,8 @@ public:
// to BaseTextEditorWidget::keyPressEvent()
bool handleKeyPressEvent(QKeyEvent *e);
+ bool encourageApply();
+
public slots:
void updateSelectionsForVariableUnderCursor(const QList<QTextEdit::ExtraSelection> &selections);