summaryrefslogtreecommitdiffstats
path: root/logic/OneSixUpdate.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-08-24 03:09:46 +0200
committerPetr Mrázek <peterix@gmail.com>2013-08-24 03:09:46 +0200
commite3b55067eb51ee82e72b41a1919406d768e00b89 (patch)
treea22158bc63242191463d450d1a3f37eeb37bba5b /logic/OneSixUpdate.cpp
parentb78123166627139777fbd206866ee0d1c8bcd040 (diff)
downloadMultiMC-e3b55067eb51ee82e72b41a1919406d768e00b89.tar
MultiMC-e3b55067eb51ee82e72b41a1919406d768e00b89.tar.gz
MultiMC-e3b55067eb51ee82e72b41a1919406d768e00b89.tar.lz
MultiMC-e3b55067eb51ee82e72b41a1919406d768e00b89.tar.xz
MultiMC-e3b55067eb51ee82e72b41a1919406d768e00b89.zip
Legacy jar reassembly, base of proper custom jar support
Diffstat (limited to 'logic/OneSixUpdate.cpp')
-rw-r--r--logic/OneSixUpdate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/OneSixUpdate.cpp b/logic/OneSixUpdate.cpp
index 2bb2f496..09d3cb14 100644
--- a/logic/OneSixUpdate.cpp
+++ b/logic/OneSixUpdate.cpp
@@ -91,7 +91,7 @@ void OneSixUpdate::versionFileFinished()
// save the version file in $instanceId/version.json
{
QString version1 = PathCombine(inst_dir, "/version.json");
- ensurePathExists(version1);
+ ensureFilePathExists(version1);
// FIXME: detect errors here, download to a temp file, swap
QFile vfile1 (version1);
vfile1.open(QIODevice::Truncate | QIODevice::WriteOnly );