Merge commit '5f7b858'

This commit is contained in:
Phillip Stephens 2018-01-21 18:44:06 -08:00
commit 37d78c03f1
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#include "LaunchMenu.hpp"
#include "hecl/CVarCommons.hpp"
extern hecl::BoolCVar* hecl::com_developer;
extern hecl::CVar* hecl::com_developer;
LaunchMenu::LaunchMenu(hecl::CVarCommons& commons, QWidget* parent)
: QMenu("Launch Menu", parent),
@ -86,10 +86,10 @@ void LaunchMenu::initDeepColor()
void LaunchMenu::initDeveloperMode()
{
QAction* act = addAction("&Developer Mode");
QAction* act = addAction("Developer Mode");
act->setToolTip(QStringLiteral("Enable developer mode to use in-engine console commands."));
act->setCheckable(true);
act->setChecked(hecl::com_developer->value());
act->setChecked(hecl::com_developer->toBoolean());
connect(act, SIGNAL(triggered()), this, SLOT(developerModeTriggered()));
}