mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
refs #308 style
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user