diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-05-04 01:20:48 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-05-04 01:20:48 +0200 |
commit | 1b884d0a9dc28d8bca38fe8756482d991d0ea850 (patch) | |
tree | fabe4350a3d64123ad0801fe7c285c2150f9562b /application/MainWindow.cpp | |
parent | 8e9d5f56b592fd0dd0f54e747a835391a775120d (diff) | |
download | MultiMC-1b884d0a9dc28d8bca38fe8756482d991d0ea850.tar MultiMC-1b884d0a9dc28d8bca38fe8756482d991d0ea850.tar.gz MultiMC-1b884d0a9dc28d8bca38fe8756482d991d0ea850.tar.lz MultiMC-1b884d0a9dc28d8bca38fe8756482d991d0ea850.tar.xz MultiMC-1b884d0a9dc28d8bca38fe8756482d991d0ea850.zip |
GH-907 improve Java testing and PermGen deprecation handling
Diffstat (limited to 'application/MainWindow.cpp')
-rw-r--r-- | application/MainWindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/application/MainWindow.cpp b/application/MainWindow.cpp index 055a38c9..608aca9c 100644 --- a/application/MainWindow.cpp +++ b/application/MainWindow.cpp @@ -381,7 +381,7 @@ namespace Ui { #include "BaseInstance.h" #include "BaseProcess.h" #include "java/JavaUtils.h" -#include "NagUtils.h" +#include "JavaCommon.h" #include "InstancePageProvider.h" #include "minecraft/SkinUtils.h" @@ -1545,7 +1545,7 @@ void MainWindow::instanceActivated(QModelIndex index) if (!inst) return; - NagUtils::checkJVMArgs(inst->settings().get("JvmArgs").toString(), this); + JavaCommon::checkJVMArgs(inst->settings().get("JvmArgs").toString(), this); doLaunch(); } @@ -1554,7 +1554,7 @@ void MainWindow::on_actionLaunchInstance_triggered() { if (m_selectedInstance) { - NagUtils::checkJVMArgs(m_selectedInstance->settings().get("JvmArgs").toString(), this); + JavaCommon::checkJVMArgs(m_selectedInstance->settings().get("JvmArgs").toString(), this); doLaunch(); } } @@ -1563,7 +1563,7 @@ void MainWindow::on_actionLaunchInstanceOffline_triggered() { if (m_selectedInstance) { - NagUtils::checkJVMArgs(m_selectedInstance->settings().get("JvmArgs").toString(), this); + JavaCommon::checkJVMArgs(m_selectedInstance->settings().get("JvmArgs").toString(), this); doLaunch(false); } } |