Added context menu on game folder status bar item to open project path in file explorer.

Signed-off-by: Chris Galvan <chgalvan@amazon.com>
This commit is contained in:
Chris Galvan
2021-08-26 13:14:30 -05:00
parent 0750dd59ca
commit bec568c8bd
2 changed files with 40 additions and 6 deletions
+14
View File
@@ -71,3 +71,17 @@ public:
private:
void updateStatus();
};
class GameInfoItem
: public StatusBarItem
{
Q_OBJECT
public:
GameInfoItem(QString name, MainStatusBar* parent);
private Q_SLOTS:
void OnShowContextMenu(const QPoint& pos);
private:
QString m_projectPath;
};