From 1b884d0a9dc28d8bca38fe8756482d991d0ea850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 4 May 2015 01:20:48 +0200 Subject: GH-907 improve Java testing and PermGen deprecation handling --- application/MainWindow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'application/MainWindow.cpp') 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); } } -- cgit v1.2.3