diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-09-12 03:07:41 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-09-12 03:07:41 +0200 |
commit | 38901ed21d74834443a8c2133192f34556f0cf1e (patch) | |
tree | 9bdf6504f116a6f727e1c16ce78af3c20bf51d95 /application | |
parent | ec3472f21dbccc352964e875223b2314b233d761 (diff) | |
download | MultiMC-38901ed21d74834443a8c2133192f34556f0cf1e.tar MultiMC-38901ed21d74834443a8c2133192f34556f0cf1e.tar.gz MultiMC-38901ed21d74834443a8c2133192f34556f0cf1e.tar.lz MultiMC-38901ed21d74834443a8c2133192f34556f0cf1e.tar.xz MultiMC-38901ed21d74834443a8c2133192f34556f0cf1e.zip |
NOISSUE use whole zip base filename for default instance name
Diffstat (limited to 'application')
-rw-r--r-- | application/dialogs/NewInstanceDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/dialogs/NewInstanceDialog.cpp b/application/dialogs/NewInstanceDialog.cpp index 658302a8..0360f5f1 100644 --- a/application/dialogs/NewInstanceDialog.cpp +++ b/application/dialogs/NewInstanceDialog.cpp @@ -112,7 +112,7 @@ void NewInstanceDialog::updateDialogState() { auto url = QUrl::fromUserInput(ui->modpackEdit->text()); QFileInfo fi(url.fileName()); - suggestedName = fi.baseName(); + suggestedName = fi.completeBaseName(); } if(suggestedName.isEmpty()) { |