LaunchController: replace Q_ASSERT_X with regular Q_ASSERT

the info specified in the where/what arguments isn't more helpful compared to the default output of Q_ASSERT

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2026-04-03 21:22:24 +05:00
parent ad325960e7
commit 29c4f2f0e8
No known key found for this signature in database
GPG key ID: B77C34313AEE1FFF

View file

@ -364,8 +364,8 @@ bool LaunchController::reauthenticateAccount(const MinecraftAccountPtr& account,
void LaunchController::launchInstance()
{
Q_ASSERT_X(m_instance != NULL, "launchInstance", "instance is NULL");
Q_ASSERT_X(m_session.get() != nullptr, "launchInstance", "session is NULL");
Q_ASSERT(m_instance != nullptr);
Q_ASSERT(m_session.get() != nullptr);
if (!m_instance->reloadSettings()) {
QMessageBox::critical(m_parentWidget, tr("Error!"), tr("Couldn't load the instance profile."));