diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-04-08 13:50:21 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-05-02 01:43:04 +0200 |
commit | 994c815bb972223bc1763ce806ab903f70b537fe (patch) | |
tree | 5cf449451d78e3d898b3db0b7bd37dfed59eda26 /application | |
parent | 32f45578fd7f152f3132c8891195c6d5c5c52be3 (diff) | |
download | MultiMC-994c815bb972223bc1763ce806ab903f70b537fe.tar MultiMC-994c815bb972223bc1763ce806ab903f70b537fe.tar.gz MultiMC-994c815bb972223bc1763ce806ab903f70b537fe.tar.lz MultiMC-994c815bb972223bc1763ce806ab903f70b537fe.tar.xz MultiMC-994c815bb972223bc1763ce806ab903f70b537fe.zip |
NOISSUE show errors for instance updates in edit instance window
Diffstat (limited to 'application')
-rw-r--r-- | application/pages/VersionPage.cpp | 6 | ||||
-rw-r--r-- | application/pages/VersionPage.h | 3 |
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 ¤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 d115d8f8..0965edeb 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); }; |