Added JavaPath function

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2024-02-08 19:45:46 +02:00
parent 82b15268bc
commit ba990e075b
No known key found for this signature in database
GPG key ID: 55EF5DA53DB36318
5 changed files with 36 additions and 5 deletions

View file

@ -48,7 +48,6 @@
#include "net/PasteUpload.h"
#include "pathmatcher/MultiMatcher.h"
#include "pathmatcher/SimplePrefixMatcher.h"
#include "settings/INIFile.h"
#include "ui/InstanceWindow.h"
#include "ui/MainWindow.h"
@ -106,8 +105,6 @@
#include "icons/IconList.h"
#include "net/HttpMetaCache.h"
#include "java/JavaUtils.h"
#include "updater/ExternalUpdater.h"
#include "tools/JProfiler.h"
@ -1833,3 +1830,7 @@ QUrl Application::normalizeImportUrl(QString const& url)
return QUrl::fromUserInput(url);
}
}
const QString Application::javaPath()
{
return FS::PathCombine(m_dataPath, "java");
}