summaryrefslogtreecommitdiffstats
path: root/api/logic/java/JavaChecker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/java/JavaChecker.cpp')
-rw-r--r--api/logic/java/JavaChecker.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/api/logic/java/JavaChecker.cpp b/api/logic/java/JavaChecker.cpp
index daf375ad..ebbd80be 100644
--- a/api/logic/java/JavaChecker.cpp
+++ b/api/logic/java/JavaChecker.cpp
@@ -7,13 +7,15 @@
#include <QCoreApplication>
#include <QDebug>
+#include "Env.h"
+
JavaChecker::JavaChecker(QObject *parent) : QObject(parent)
{
}
void JavaChecker::performCheck()
{
- QString checkerJar = FS::PathCombine(QCoreApplication::applicationDirPath(), "jars", "JavaCheck.jar");
+ QString checkerJar = FS::PathCombine(ENV.getJarsPath(), "JavaCheck.jar");
QStringList args;