Fix formatting issues
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
7f4c74ffbe
commit
8cf2a04f31
@ -1,4 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
// SPDX-License-Identifier: GPL-3.0-only AND Apache-2.0
|
||||
/*
|
||||
* Prism Launcher - Minecraft Launcher
|
||||
* Copyright (c) 2024 TheKodeToad <TheKodeToad@proton.me>
|
||||
|
@ -209,7 +209,8 @@ void ResourceModel::loadEntry(QModelIndex& entry)
|
||||
};
|
||||
if (!callbacks.on_fail)
|
||||
callbacks.on_fail = [](QString reason, int) {
|
||||
QMessageBox::critical(nullptr, tr("Error"), tr("A network error occurred. Could not load project versions: %1").arg(reason));
|
||||
QMessageBox::critical(nullptr, tr("Error"),
|
||||
tr("A network error occurred. Could not load project versions: %1").arg(reason));
|
||||
};
|
||||
|
||||
if (auto job = m_api->getProjectVersions(std::move(args), std::move(callbacks)); job)
|
||||
|
Loading…
Reference in New Issue
Block a user