diff --git a/hecl-gui/LaunchMenu.cpp b/hecl-gui/LaunchMenu.cpp index e7e63541e..ba64a59d2 100644 --- a/hecl-gui/LaunchMenu.cpp +++ b/hecl-gui/LaunchMenu.cpp @@ -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())); }