diff --git a/application/pages/VersionPage.cpp b/application/pages/VersionPage.cpp index 056bb9582..3de6a4c75 100644 --- a/application/pages/VersionPage.cpp +++ b/application/pages/VersionPage.cpp @@ -320,3 +320,9 @@ void VersionPage::versionCurrent(const QModelIndex ¤t, const QModelIndex & ui->changeMCVersionBtn->setEnabled(false); } } + +void VersionPage::onGameUpdateError(QString error) +{ + CustomMessageBox::selectable(this, tr("Error updating instance"), error, + QMessageBox::Warning)->show(); +} diff --git a/application/pages/VersionPage.h b/application/pages/VersionPage.h index d115d8f8e..0965edeb2 100644 --- a/application/pages/VersionPage.h +++ b/application/pages/VersionPage.h @@ -75,4 +75,7 @@ private: public slots: void versionCurrent(const QModelIndex ¤t, const QModelIndex &previous); + +private slots: + void onGameUpdateError(QString error); };