remove drm from download all button
This commit is contained in:
parent
64b7562919
commit
e71284c812
@ -451,16 +451,6 @@ void VersionPage::on_actionChange_version_triggered()
|
|||||||
|
|
||||||
void VersionPage::on_actionDownload_All_triggered()
|
void VersionPage::on_actionDownload_All_triggered()
|
||||||
{
|
{
|
||||||
if (!APPLICATION->accounts()->anyAccountIsValid())
|
|
||||||
{
|
|
||||||
CustomMessageBox::selectable(
|
|
||||||
this, tr("Error"),
|
|
||||||
tr("Cannot download Minecraft or update instances unless you have at least "
|
|
||||||
"one account added.\nPlease add your Mojang or Minecraft account."),
|
|
||||||
QMessageBox::Warning)->show();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
auto updateTask = m_inst->createUpdateTask(Net::Mode::Online);
|
auto updateTask = m_inst->createUpdateTask(Net::Mode::Online);
|
||||||
if (!updateTask)
|
if (!updateTask)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user