diff options
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); } } |