summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-07-29 08:43:34 +0200
committerPetr Mrázek <peterix@gmail.com>2017-08-28 22:09:53 +0200
commit3ed990861a52f090d355555d5f5d3b76a9b4608c (patch)
tree9a576eb99976aae968a0ae66aae43035fa538ba3 /api/logic/minecraft
parent2c1ca040f84e8126f7af83717b073323a656225a (diff)
downloadMultiMC-3ed990861a52f090d355555d5f5d3b76a9b4608c.tar
MultiMC-3ed990861a52f090d355555d5f5d3b76a9b4608c.tar.gz
MultiMC-3ed990861a52f090d355555d5f5d3b76a9b4608c.tar.lz
MultiMC-3ed990861a52f090d355555d5f5d3b76a9b4608c.tar.xz
MultiMC-3ed990861a52f090d355555d5f5d3b76a9b4608c.zip
NOISSUE simplify ProblemProvider
Diffstat (limited to 'api/logic/minecraft')
-rw-r--r--api/logic/minecraft/ProfilePatch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/logic/minecraft/ProfilePatch.cpp b/api/logic/minecraft/ProfilePatch.cpp
index a2605278..049463ac 100644
--- a/api/logic/minecraft/ProfilePatch.cpp
+++ b/api/logic/minecraft/ProfilePatch.cpp
@@ -184,5 +184,5 @@ const QList<PatchProblem> ProfilePatch::getProblems()
{
return file->getProblems();
}
- return {PatchProblem(ProblemSeverity::Error, QObject::tr("Patch is not loaded yet."))};
+ return {{ProblemSeverity::Error, QObject::tr("Patch is not loaded yet.")}};
}