NOISSUE Refactor and sanitize MultiMC startup/shutdown
* Always create main window. * Properly handle netowrk manager - it was created twice, leading to potential crashes.
This commit is contained in:
@ -142,7 +142,9 @@ public:
|
||||
bool openJsonEditor(const QString &filename);
|
||||
|
||||
InstanceWindow *showInstanceWindow(InstancePtr instance, QString page = QString());
|
||||
MainWindow *showMainWindow();
|
||||
MainWindow *showMainWindow(bool minimized = false);
|
||||
|
||||
public slots:
|
||||
void launch(InstancePtr instance, bool online = true, BaseProfilerFactory *profiler = nullptr);
|
||||
|
||||
private slots:
|
||||
|
Reference in New Issue
Block a user