qt: Add option to uninstall a game. (#7064)

* qt: Add option to uninstall a game.

* Address review comments.
This commit is contained in:
Steveice10 2023-10-14 18:11:59 -07:00 committed by GitHub
parent 3d55270de6
commit 07839fb3ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 223 additions and 46 deletions

View file

@ -73,6 +73,10 @@ namespace Service::AM {
enum class InstallStatus : u32;
}
namespace Service::FS {
enum class MediaType : u32;
}
class GMainWindow : public QMainWindow {
Q_OBJECT
@ -100,6 +104,9 @@ public:
bool DropAction(QDropEvent* event);
void AcceptDropEvent(QDropEvent* event);
void UninstallTitles(
const std::vector<std::tuple<Service::FS::MediaType, u64, QString>>& titles);
public slots:
void OnAppFocusStateChanged(Qt::ApplicationState state);
void OnLoadComplete();