This commit is contained in:
Roland Winklmeier
2014-09-02 21:34:34 +02:00
parent 1cbc02a4c5
commit bd8eba6913
2 changed files with 19 additions and 21 deletions

View File

@@ -198,8 +198,6 @@ namespace BlackSimPlugin
if(m_clientStatus == Connected) return hr;
DPN_APPLICATION_DESC dpAppDesc;
QMutexLocker locker(&m_mutexHostList);
QScopedArrayPointer<wchar_t> wszPlayername(new wchar_t[callsign.size() + 1]);
@@ -227,11 +225,11 @@ namespace BlackSimPlugin
}
// Now set up the Application Description
DPN_APPLICATION_DESC dpAppDesc;
ZeroMemory(&dpAppDesc, sizeof(DPN_APPLICATION_DESC));
dpAppDesc.dwSize = sizeof(DPN_APPLICATION_DESC);
dpAppDesc.guidApplication = CFs9Sdk::guid();
// We are now ready to host the app
if( FAILED( hr = m_directPlayPeer->Connect( &dpAppDesc, // AppDesc
m_hostAddress,