summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/update/FoldersTask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/minecraft/update/FoldersTask.cpp')
-rw-r--r--api/logic/minecraft/update/FoldersTask.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/api/logic/minecraft/update/FoldersTask.cpp b/api/logic/minecraft/update/FoldersTask.cpp
index 34e2292a..2073b14e 100644
--- a/api/logic/minecraft/update/FoldersTask.cpp
+++ b/api/logic/minecraft/update/FoldersTask.cpp
@@ -3,19 +3,19 @@
#include <QDir>
FoldersTask::FoldersTask(MinecraftInstance * inst)
- :Task()
+ :Task()
{
- m_inst = inst;
+ m_inst = inst;
}
void FoldersTask::executeTask()
{
- // Make directories
- QDir mcDir(m_inst->minecraftRoot());
- if (!mcDir.exists() && !mcDir.mkpath("."))
- {
- emitFailed(tr("Failed to create folder for minecraft binaries."));
- return;
- }
- emitSucceeded();
+ // Make directories
+ QDir mcDir(m_inst->minecraftRoot());
+ if (!mcDir.exists() && !mcDir.mkpath("."))
+ {
+ emitFailed(tr("Failed to create folder for minecraft binaries."));
+ return;
+ }
+ emitSucceeded();
}