Update config.cpp

This commit is contained in:
sairathnavamsi 2015-04-07 00:26:04 -07:00
parent 11bd6024fb
commit 019c3499ba

View File

@ -21,6 +21,7 @@ Config::Config() {
Reload(); Reload();
} }
//assigining keys
void Config::ReadValues() { void Config::ReadValues() {
qt_config->beginGroup("Controls"); qt_config->beginGroup("Controls");
Settings::values.pad_a_key = qt_config->value("pad_a", Qt::Key_A).toInt(); Settings::values.pad_a_key = qt_config->value("pad_a", Qt::Key_A).toInt();