aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/coreplugin/locator/locatorwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/coreplugin/locator/locatorwidget.h')
-rw-r--r--src/plugins/coreplugin/locator/locatorwidget.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/coreplugin/locator/locatorwidget.h b/src/plugins/coreplugin/locator/locatorwidget.h
index 83a45e1031..8a053e135f 100644
--- a/src/plugins/coreplugin/locator/locatorwidget.h
+++ b/src/plugins/coreplugin/locator/locatorwidget.h
@@ -64,11 +64,11 @@ public:
private:
void showPopup();
void showPopupNow();
- void acceptCurrentEntry();
+ void acceptEntry(int row);
void showConfigureDialog();
void addSearchResults(int firstIndex, int endIndex);
void handleSearchFinished();
- void scheduleAcceptCurrentEntry();
+ void scheduleAcceptEntry(const QModelIndex &index);
void setFocusToCurrentMode();
bool eventFilter(QObject *obj, QEvent *event);
@@ -90,8 +90,8 @@ private:
QString m_requestedCompletionText;
bool m_needsClearResult = true;
bool m_updateRequested = false;
- bool m_acceptRequested = false;
bool m_possibleToolTipRequest = false;
+ int m_rowRequestedForAccept = -1;
QWidget *m_progressIndicator;
QPointer<QWidget> m_window;
QTimer m_showProgressTimer;