summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/pages/VersionPage.cpp6
-rw-r--r--application/pages/VersionPage.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/application/pages/VersionPage.cpp b/application/pages/VersionPage.cpp
index 056bb958..3de6a4c7 100644
--- a/application/pages/VersionPage.cpp
+++ b/application/pages/VersionPage.cpp
@@ -320,3 +320,9 @@ void VersionPage::versionCurrent(const QModelIndex &current, 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 d115d8f8..0965edeb 100644
--- a/application/pages/VersionPage.h
+++ b/application/pages/VersionPage.h
@@ -75,4 +75,7 @@ private:
public
slots:
void versionCurrent(const QModelIndex &current, const QModelIndex &previous);
+
+private slots:
+ void onGameUpdateError(QString error);
};