summaryrefslogtreecommitdiff
path: root/src/organizercore.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-06-07 23:31:58 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-06-15 14:40:40 -0400
commit1897d60134e1cff31375f1c602196a99ece7fc86 (patch)
tree3bc7391f2c7a15e500370b58a24e45756a2d411d /src/organizercore.h
parent7026aeaec859fd3632b1062e0cf14d2479c23076 (diff)
pulled java installation detection out of getFileExecutionContext() and into findJavaInstallation() because it was copy/pasted into EditExecutablesDialog
fixed FileDialogMemory::getOpenFileName() to also use the given directory correctly handle browse binary button
Diffstat (limited to 'src/organizercore.h')
-rw-r--r--src/organizercore.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/organizercore.h b/src/organizercore.h
index 8ed34e24..a4a57496 100644
--- a/src/organizercore.h
+++ b/src/organizercore.h
@@ -147,6 +147,8 @@ public:
void doAfterLogin(const std::function<void()> &function) { m_PostLoginTasks.append(function); }
+ static QString findJavaInstallation(const QString& jarFile={});
+
static bool getFileExecutionContext(
QWidget* parent, const QFileInfo &targetInfo,
QFileInfo &binaryInfo, QString &arguments, FileExecutionTypes& type);