projectexplorer: cache first selected item for context menu operations

Minor optimization.
This commit is contained in:
itsmattkc
2020-03-28 11:36:05 +11:00
parent 84aab543ca
commit b40dd761f5
2 changed files with 10 additions and 6 deletions
@@ -136,6 +136,8 @@ private:
QTimer rename_timer_;
Item* context_menu_item_;
private slots:
void ItemClickedSlot(const QModelIndex& index);