From 70ed30f9e6b47fbfb3151078ca61a2bb419feccb Mon Sep 17 00:00:00 2001 From: Petr Mrázek Date: Sun, 7 Apr 2019 23:59:04 +0200 Subject: GH-2591 less std::shared_ptr and more shared_qobject_ptr This eliminates some weird crashes. --- application/LaunchController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/LaunchController.cpp') diff --git a/application/LaunchController.cpp b/application/LaunchController.cpp index 0115bba4..8f3e6596 100644 --- a/application/LaunchController.cpp +++ b/application/LaunchController.cpp @@ -218,7 +218,7 @@ void LaunchController::launchInstance() connect(m_launcher.get(), &LaunchTask::requestProgress, this, &LaunchController::onProgressRequested); - m_launcher->prependStep(std::make_shared(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(); } -- cgit