mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-02 11:26:59 +03:00
Nag for instance specific JVM args too
This commit is contained in:
parent
51dee3745f
commit
dd6af4efab
2 changed files with 5 additions and 2 deletions
|
|
@ -535,7 +535,7 @@ void MainWindow::instanceActivated(QModelIndex index)
|
|||
BaseInstance *inst =
|
||||
(BaseInstance *)index.data(InstanceList::InstancePointerRole).value<void *>();
|
||||
|
||||
NagUtils::checkJVMArgs(MMC->settings()->get("JvmArgs").toString(), this);
|
||||
NagUtils::checkJVMArgs(inst->settings().get("JvmArgs").toString(), this);
|
||||
|
||||
bool autoLogin = inst->settings().get("AutoLogin").toBool();
|
||||
if (autoLogin)
|
||||
|
|
@ -548,7 +548,7 @@ void MainWindow::on_actionLaunchInstance_triggered()
|
|||
{
|
||||
if (m_selectedInstance)
|
||||
{
|
||||
NagUtils::checkJVMArgs(MMC->settings()->get("JvmArgs").toString(), this);
|
||||
NagUtils::checkJVMArgs(m_selectedInstance->settings().get("JvmArgs").toString(), this);
|
||||
doLogin();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue