mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-04 09:55:53 +00:00
Fix graphicsAPI cvar
This commit is contained in:
parent
bf1e342bc4
commit
b4972dbad9
@ -83,7 +83,9 @@ void LaunchMenu::initDeveloperMode()
|
||||
|
||||
void LaunchMenu::apiTriggered()
|
||||
{
|
||||
m_commons.setGraphicsApi(qobject_cast<QAction*>(sender())->text().toStdString());
|
||||
QString apiStr = qobject_cast<QAction*>(sender())->text();
|
||||
apiStr = apiStr.remove('&');
|
||||
m_commons.setGraphicsApi(apiStr.toStdString());
|
||||
m_commons.serialize();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user