summaryrefslogtreecommitdiffstats
path: root/gui/newinstancedialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/newinstancedialog.cpp')
-rw-r--r--gui/newinstancedialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/newinstancedialog.cpp b/gui/newinstancedialog.cpp
index 859077d9..c035302c 100644
--- a/gui/newinstancedialog.cpp
+++ b/gui/newinstancedialog.cpp
@@ -96,7 +96,7 @@ BaseVersionPtr NewInstanceDialog::selectedVersion() const
void NewInstanceDialog::on_btnChangeVersion_clicked()
{
- VersionSelectDialog vselect(MMC->minecraftlist().data(), this);
+ VersionSelectDialog vselect(MMC->minecraftlist().get(), this);
vselect.exec();
if (vselect.result() == QDialog::Accepted)
{