game_list: Implement context menu for items in list
* Add a context menu with a "Open Save Data Location" action
This commit is contained in:
parent
351b5d23f4
commit
f50dcc88bf
3 changed files with 32 additions and 4 deletions
|
@ -36,12 +36,15 @@ public:
|
|||
signals:
|
||||
void GameChosen(QString game_path);
|
||||
void ShouldCancelWorker();
|
||||
void OpenSaveFolderRequested(u64 program_id);
|
||||
|
||||
private:
|
||||
void AddEntry(const QList<QStandardItem*>& entry_items);
|
||||
void ValidateEntry(const QModelIndex& item);
|
||||
void DonePopulating();
|
||||
|
||||
void PopupContextMenu(const QPoint& menu_location);
|
||||
|
||||
QTreeView* tree_view = nullptr;
|
||||
QStandardItemModel* item_model = nullptr;
|
||||
GameListWorker* current_worker = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue