Skip to content

Commit

Permalink
[vst] Fix that detection was broken in Qt 6.5+
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Jan 2, 2024
1 parent 2d2d475 commit b8311d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/plugins/score-plugin-vst/Vst/ApplicationPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ ApplicationPlugin::ApplicationPlugin(const score::ApplicationContext& app)
qRegisterMetaType<std::vector<VSTInfo>>();

#if QT_CONFIG(process)
m_wsServer.listen({}, 37587);
m_wsServer.listen(QHostAddress::LocalHost, 37587);
con(m_wsServer, &QWebSocketServer::newConnection, this, [this] {
QWebSocket* ws = m_wsServer.nextPendingConnection();
if(!ws)
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/score-plugin-vst3/Vst3/ApplicationPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ ApplicationPlugin::ApplicationPlugin(const score::ApplicationContext& ctx)
qRegisterMetaType<std::vector<AvailablePlugin>>();

#if QT_CONFIG(process)
m_wsServer.listen({}, 37588);
m_wsServer.listen(QHostAddress::LocalHost, 37588);
con(m_wsServer, &QWebSocketServer::newConnection, this, [this] {
QWebSocket* ws = m_wsServer.nextPendingConnection();
if(!ws)
Expand Down

0 comments on commit b8311d8

Please sign in to comment.