code style
This commit is contained in:
parent
e58976901d
commit
92bb9c253a
2 changed files with 4 additions and 4 deletions
|
@ -70,7 +70,7 @@ protected:
|
||||||
void AddMarker ( const SHistoryData& curHistoryData );
|
void AddMarker ( const SHistoryData& curHistoryData );
|
||||||
void Save ( const QString sFileName );
|
void Save ( const QString sFileName );
|
||||||
|
|
||||||
QString sFileName;
|
QString sFileName;
|
||||||
|
|
||||||
bool bDoHistory;
|
bool bDoHistory;
|
||||||
CFIFO<SHistoryData> vHistoryDataFifo;
|
CFIFO<SHistoryData> vHistoryDataFifo;
|
||||||
|
|
|
@ -62,7 +62,7 @@ void CSettings::Load()
|
||||||
|
|
||||||
pClient->vstrIPAddress[iIPAddrIdx] =
|
pClient->vstrIPAddress[iIPAddrIdx] =
|
||||||
GetIniSetting ( IniXMLDocument, "client",
|
GetIniSetting ( IniXMLDocument, "client",
|
||||||
QString ( "ipaddress%1" ).arg ( iIPAddrIdx ), sDefaultIP );
|
QString ( "ipaddress%1" ).arg ( iIPAddrIdx ), sDefaultIP );
|
||||||
}
|
}
|
||||||
|
|
||||||
// name
|
// name
|
||||||
|
@ -270,8 +270,8 @@ void CSettings::Save()
|
||||||
for ( int iIPAddrIdx = 0; iIPAddrIdx < MAX_NUM_SERVER_ADDR_ITEMS; iIPAddrIdx++ )
|
for ( int iIPAddrIdx = 0; iIPAddrIdx < MAX_NUM_SERVER_ADDR_ITEMS; iIPAddrIdx++ )
|
||||||
{
|
{
|
||||||
PutIniSetting ( IniXMLDocument, "client",
|
PutIniSetting ( IniXMLDocument, "client",
|
||||||
QString ( "ipaddress%1" ).arg ( iIPAddrIdx ),
|
QString ( "ipaddress%1" ).arg ( iIPAddrIdx ),
|
||||||
pClient->vstrIPAddress[iIPAddrIdx] );
|
pClient->vstrIPAddress[iIPAddrIdx] );
|
||||||
}
|
}
|
||||||
|
|
||||||
// name
|
// name
|
||||||
|
|
Loading…
Reference in a new issue