mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 09:59:59 +03:00
Work on new assets system. Working legacy assets importer, disabled assets downloading for now
This commit is contained in:
parent
613699b362
commit
6d438b2ef3
8 changed files with 238 additions and 1 deletions
|
|
@ -84,6 +84,8 @@
|
|||
|
||||
#include "logic/LegacyInstance.h"
|
||||
|
||||
#include "logic/assets/AssetsUtils.h"
|
||||
|
||||
MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow)
|
||||
{
|
||||
MultiMCPlatform::fixWM_CLASS(this);
|
||||
|
|
@ -243,7 +245,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi
|
|||
SLOT(assetsFilesProgress(int, int, int)));
|
||||
connect(assets_downloader, SIGNAL(failed()), SLOT(assetsFailed()));
|
||||
connect(assets_downloader, SIGNAL(finished()), SLOT(assetsFinished()));
|
||||
assets_downloader->start();
|
||||
//assets_downloader->start();
|
||||
}
|
||||
|
||||
const QString currentInstanceId = MMC->settings()->get("SelectedInstance").toString();
|
||||
|
|
@ -267,6 +269,8 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi
|
|||
|
||||
// removing this looks stupid
|
||||
view->setFocus();
|
||||
|
||||
AssetsUtils::migrateOldAssets();
|
||||
}
|
||||
|
||||
MainWindow::~MainWindow()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue