summaryrefslogtreecommitdiffstats
path: root/application/pages
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2018-07-31 01:54:08 +0200
committerPetr Mrázek <peterix@gmail.com>2018-07-31 01:54:08 +0200
commit0c73ddee73e7383d5b81185381fa1c762fcb1147 (patch)
tree7193eb7bdd3e836ab8f150d3575d866bb2df3d9d /application/pages
parent9965decd81b8e8ca98d610f605263ccf4ce541e1 (diff)
downloadMultiMC-0c73ddee73e7383d5b81185381fa1c762fcb1147.tar
MultiMC-0c73ddee73e7383d5b81185381fa1c762fcb1147.tar.gz
MultiMC-0c73ddee73e7383d5b81185381fa1c762fcb1147.tar.lz
MultiMC-0c73ddee73e7383d5b81185381fa1c762fcb1147.tar.xz
MultiMC-0c73ddee73e7383d5b81185381fa1c762fcb1147.zip
NOISSUE set groups for instances by not setting groups for instances
So simple. Better in every way.
Diffstat (limited to 'application/pages')
-rw-r--r--application/pages/instance/LegacyUpgradePage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/pages/instance/LegacyUpgradePage.cpp b/application/pages/instance/LegacyUpgradePage.cpp
index 0d2e5996..15fd10cc 100644
--- a/application/pages/instance/LegacyUpgradePage.cpp
+++ b/application/pages/instance/LegacyUpgradePage.cpp
@@ -38,7 +38,7 @@ void LegacyUpgradePage::on_upgradeButton_clicked()
QString newName = tr("%1 (Migrated)").arg(m_inst->name());
auto upgradeTask = new LegacyUpgradeTask(m_inst);
upgradeTask->setName(newName);
- upgradeTask->setGroup(m_inst->group());
+ upgradeTask->setGroup(MMC->instances()->getInstanceGroup(m_inst->id()));
upgradeTask->setIcon(m_inst->iconKey());
std::unique_ptr<Task> task(MMC->instances()->wrapInstanceTask(upgradeTask));
runModalTask(task.get());