mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-12 12:45:56 +00:00
code: Remove fpkg code
Signed-off-by: georgemoralis <giorgosmrls@gmail.com>
This commit is contained in:
parent
d339b3f7d6
commit
be22674f8c
14 changed files with 31 additions and 2015 deletions
|
@ -22,7 +22,6 @@
|
|||
#include "game_list_utils.h"
|
||||
#include "main_window_themes.h"
|
||||
#include "main_window_ui.h"
|
||||
#include "pkg_viewer.h"
|
||||
|
||||
class GameListFrame;
|
||||
|
||||
|
@ -36,7 +35,6 @@ public:
|
|||
explicit MainWindow(QWidget* parent = nullptr);
|
||||
~MainWindow();
|
||||
bool Init();
|
||||
void InstallDragDropPkg(std::filesystem::path file, int pkgNum, int nPkg);
|
||||
void InstallDirectory();
|
||||
void StartGame();
|
||||
void PauseGame();
|
||||
|
@ -72,7 +70,6 @@ private:
|
|||
void SetLastUsedTheme();
|
||||
void SetLastIconSizeBullet();
|
||||
void SetUiIcons(bool isWhite);
|
||||
void InstallPkg();
|
||||
void BootGame();
|
||||
void AddRecentFiles(QString filePath);
|
||||
void LoadTranslation();
|
||||
|
@ -89,7 +86,6 @@ private:
|
|||
QActionGroup* m_list_mode_act_group = nullptr;
|
||||
QActionGroup* m_theme_act_group = nullptr;
|
||||
QActionGroup* m_recent_files_group = nullptr;
|
||||
PKG pkg;
|
||||
// Dockable widget frames
|
||||
WindowThemes m_window_themes;
|
||||
GameListUtils m_game_list_utils;
|
||||
|
@ -120,20 +116,6 @@ protected:
|
|||
}
|
||||
}
|
||||
|
||||
void dropEvent(QDropEvent* event1) override {
|
||||
const QMimeData* mimeData = event1->mimeData();
|
||||
if (mimeData->hasUrls()) {
|
||||
QList<QUrl> urlList = mimeData->urls();
|
||||
int pkgNum = 0;
|
||||
int nPkg = urlList.size();
|
||||
for (const QUrl& url : urlList) {
|
||||
pkgNum++;
|
||||
std::filesystem::path path = Common::FS::PathFromQString(url.toLocalFile());
|
||||
InstallDragDropPkg(path, pkgNum, nPkg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void resizeEvent(QResizeEvent* event) override;
|
||||
|
||||
std::filesystem::path last_install_dir = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue