config: fix types

This commit is contained in:
Stéphane L 2019-04-22 16:18:54 +02:00
parent efc6d4c15a
commit bfc826b898

View File

@ -210,8 +210,8 @@ void Config::OnFrontendEvent(enum obs_frontend_event event, void* param)
QString restartMessage = QObject::tr("OBSWebsocket.ProfileChanged.Restarted");
obs_frontend_pop_ui_translation();
auto previousEnabled = config->ServerEnabled;
auto previousPort = config->ServerPort;
bool previousEnabled = config->ServerEnabled;
uint64_t previousPort = config->ServerPort;
config->SetDefaults();
config->Load();