diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-12-29 00:35:10 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-12-29 00:35:10 +0100 |
commit | 50ca6cbb4daaa4acd300defc6b7ecc7ccb46cebf (patch) | |
tree | e8198fd0ff0916f5389e1ccac49a6bdf4eb4fda7 /application/pages/VersionPage.cpp | |
parent | 257f8ca9fdb3c12d90e0cdf4167457fc8e810b9d (diff) | |
download | MultiMC-50ca6cbb4daaa4acd300defc6b7ecc7ccb46cebf.tar MultiMC-50ca6cbb4daaa4acd300defc6b7ecc7ccb46cebf.tar.gz MultiMC-50ca6cbb4daaa4acd300defc6b7ecc7ccb46cebf.tar.lz MultiMC-50ca6cbb4daaa4acd300defc6b7ecc7ccb46cebf.tar.xz MultiMC-50ca6cbb4daaa4acd300defc6b7ecc7ccb46cebf.zip |
NOISSUE fix crash bug in version page of instances
This was caused by generation of temporary component objects
when no such thing should have been happening.
Diffstat (limited to 'application/pages/VersionPage.cpp')
-rw-r--r-- | application/pages/VersionPage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/pages/VersionPage.cpp b/application/pages/VersionPage.cpp index a4abcd60..8673e4bc 100644 --- a/application/pages/VersionPage.cpp +++ b/application/pages/VersionPage.cpp @@ -527,7 +527,7 @@ void VersionPage::onGameUpdateError(QString error) QMessageBox::Warning)->show(); } -ComponentPtr VersionPage::current() +Component * VersionPage::current() { auto row = currentRow(); if(row < 0) |