mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-10-03 19:14:40 -04:00
GH-2591 less std::shared_ptr and more shared_qobject_ptr
This eliminates some weird crashes.
This commit is contained in:
1 parent
414946cad9
commit
70ed30f9e6
25 files changed
+79
-83
No files matched your search
@@ -218,7 +218,7 @@ void LaunchController::launchInstance()
|
||||
connect(m_launcher.get(), &LaunchTask::requestProgress, this, &LaunchController::onProgressRequested);
|
||||
|
||||
|
||||
m_launcher->prependStep(std::make_shared<TextPrint>(m_launcher.get(), "MultiMC version: " + BuildConfig.printableVersionString() + "\n\n", MessageLevel::MultiMC));
|
||||
m_launcher->prependStep(new TextPrint(m_launcher.get(), "MultiMC version: " + BuildConfig.printableVersionString() + "\n\n", MessageLevel::MultiMC));
|
||||
m_launcher->start();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user