mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=11941
This commit is contained in:
parent
8fa9ae3074
commit
2cde48af31
|
@ -1000,3 +1000,10 @@ David 23 Jan 2007
|
|||
clientgui/
|
||||
ViewWork.cpp
|
||||
ViewWorkGrid.cpp
|
||||
|
||||
Rom 23 Jan 2007
|
||||
- MGR: When connecting to a remote machine, don't reset the computer name
|
||||
and password back to the local machine during the reconnect state.
|
||||
|
||||
clientgui/
|
||||
MainDocument.cpp, .h
|
||||
|
|
|
@ -51,6 +51,7 @@ CNetworkConnection::CNetworkConnection(CMainDocument* pDocument) :
|
|||
m_bReconnecting = false;
|
||||
m_bForceReconnect = false;
|
||||
m_bReconnectOnError = false;
|
||||
m_bNewConnection = false;
|
||||
}
|
||||
|
||||
|
||||
|
@ -192,6 +193,7 @@ int CNetworkConnection::SetComputer(const wxChar* szComputer, const wxChar* szPa
|
|||
m_strNewComputerPassword.Empty();
|
||||
m_bUseDefaultPassword = FALSE;
|
||||
|
||||
m_bNewConnection = true;
|
||||
m_strNewComputerName = szComputer;
|
||||
m_strNewComputerPassword = szPassword;
|
||||
m_bUseDefaultPassword = bUseDefaultPassword;
|
||||
|
@ -237,8 +239,10 @@ void CNetworkConnection::SetStateReconnecting() {
|
|||
m_bReconnectOnError = false;
|
||||
m_bForceReconnect = false;
|
||||
m_bReconnecting = true;
|
||||
m_strNewComputerName = m_strConnectedComputerName;
|
||||
m_strNewComputerPassword = m_strConnectedComputerPassword;
|
||||
if (!m_bNewConnection) {
|
||||
m_strNewComputerName = m_strConnectedComputerName;
|
||||
m_strNewComputerPassword = m_strConnectedComputerPassword;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -254,6 +258,7 @@ void CNetworkConnection::SetStateSuccess(wxString& strComputer, wxString& strCom
|
|||
m_strConnectedComputerPassword = strComputerPassword;
|
||||
m_strNewComputerName = wxEmptyString;
|
||||
m_strNewComputerPassword = wxEmptyString;
|
||||
m_bNewConnection = false;
|
||||
|
||||
m_bConnectEvent = false;
|
||||
|
||||
|
|
|
@ -61,6 +61,7 @@ private:
|
|||
bool m_bConnected;
|
||||
bool m_bReconnecting;
|
||||
bool m_bUseDefaultPassword;
|
||||
bool m_bNewConnection;
|
||||
wxString m_strNewComputerName;
|
||||
wxString m_strNewComputerPassword;
|
||||
wxString m_strConnectedComputerName;
|
||||
|
|
Loading…
Reference in New Issue