diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-12-13 00:02:58 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-12-13 00:02:58 +0100 |
commit | bf34aa7fbd87eb5e21bc1bb69fc3f53c2c92d8fd (patch) | |
tree | 35237863e9ead503a909804ac279109db536c5f0 /logic/JavaChecker.h | |
parent | 45aa858090062dd28fb4a29da9648eca87c5e539 (diff) | |
download | MultiMC-bf34aa7fbd87eb5e21bc1bb69fc3f53c2c92d8fd.tar MultiMC-bf34aa7fbd87eb5e21bc1bb69fc3f53c2c92d8fd.tar.gz MultiMC-bf34aa7fbd87eb5e21bc1bb69fc3f53c2c92d8fd.tar.lz MultiMC-bf34aa7fbd87eb5e21bc1bb69fc3f53c2c92d8fd.tar.xz MultiMC-bf34aa7fbd87eb5e21bc1bb69fc3f53c2c92d8fd.zip |
Use temporary files for the java checker
Diffstat (limited to 'logic/JavaChecker.h')
-rw-r--r-- | logic/JavaChecker.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/logic/JavaChecker.h b/logic/JavaChecker.h index 4488da66..291bf46c 100644 --- a/logic/JavaChecker.h +++ b/logic/JavaChecker.h @@ -1,10 +1,12 @@ #pragma once #include <QProcess> #include <QTimer> +#include <QTemporaryFile> #include <memory> class JavaChecker; + struct JavaCheckResult { QString path; @@ -31,6 +33,7 @@ signals: private: QProcessPtr process; QTimer killTimer; + QTemporaryFile checkerJar; public slots: void timeout(); |