mirror of
https://github.com/PrismLauncher/PrismLauncher
synced 2026-04-23 09:05:03 +00:00
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:
parent
ad325960e7
commit
29c4f2f0e8
|
|
@ -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."));
|
||||
|
|
|
|||
Loading…
Reference in a new issue