mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
fix build issues
This commit is contained in:
parent
4f98b9e41b
commit
0391280c13
@ -218,7 +218,7 @@ void WSRequestHandler::SendResponse(obs_data_t* response) {
|
||||
_response = obs_data_get_json(response);
|
||||
|
||||
if (Config::Current()->DebugEnabled)
|
||||
blog(LOG_DEBUG, "Response << '%s'", json.toUtf8().constData());
|
||||
blog(LOG_DEBUG, "Response << '%s'", _response.toUtf8().constData());
|
||||
}
|
||||
|
||||
bool WSRequestHandler::hasField(QString name) {
|
||||
|
@ -94,9 +94,9 @@ void SettingsDialog::FormAccepted() {
|
||||
conf->Save();
|
||||
|
||||
if (conf->ServerEnabled)
|
||||
WSServer::Instance->Start(conf->ServerPort);
|
||||
WSServer::Instance->start(conf->ServerPort);
|
||||
else
|
||||
WSServer::Instance->Stop();
|
||||
WSServer::Instance->stop();
|
||||
}
|
||||
|
||||
SettingsDialog::~SettingsDialog() {
|
||||
|
@ -52,7 +52,7 @@ bool obs_module_load(void) {
|
||||
WSEvents::Instance = new WSEvents(WSServer::Instance);
|
||||
|
||||
if (config->ServerEnabled)
|
||||
WSServer::Instance->Start(config->ServerPort);
|
||||
WSServer::Instance->start(config->ServerPort);
|
||||
|
||||
// UI setup
|
||||
QAction* menu_action = (QAction*)obs_frontend_add_tools_menu_qaction(
|
||||
|
Loading…
x
Reference in New Issue
Block a user