Changeset 95711 in vbox
- Timestamp:
- Jul 18, 2022 1:23:35 PM (2 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/guestctrl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManagerGuestTable.cpp
r95393 r95711 485 485 icon = UIIconPool::iconSet(":/status_check_16px.png"); 486 486 break; 487 case State_SessionError: 488 strWarningText = UIFileManager::tr("<p>Some error has occurred. PLease check the log panel.</p>"); 489 icon = UIIconPool::iconSet(":/status_error_16px.png"); 490 break; 487 491 default: 488 492 break; … … 1320 1324 m_pGuestSessionWidget->markForError(cErrorInfo.GetResultDetail() == VERR_AUTHENTICATION_FAILURE); 1321 1325 } 1326 1327 setStateAndEnableWidgets(); 1328 1322 1329 if (m_comGuestSession.isOk()) 1323 1330 { … … 1352 1359 else 1353 1360 emit sigLogOutput(UIErrorString::formatErrorInfo(m_comGuestSession), m_strTableName, FileManagerLogType_Error); 1354 1355 setStateAndEnableWidgets();1356 1361 } 1357 1362 … … 1393 1398 { 1394 1399 m_enmState = State_SessionRunning; 1400 return; 1401 } 1402 if (!m_comGuestSession.isNull() && m_comGuestSession.GetStatus() == KGuestSessionStatus_Error) 1403 { 1404 m_enmState = State_SessionError; 1395 1405 return; 1396 1406 } … … 1437 1447 if (m_pGuestSessionWidget) 1438 1448 { 1439 m_pGuestSessionWidget->setLoginWidgetsEnabled(m_enmState == State_SessionPossible || m_enmState == State_SessionRunning); 1449 m_pGuestSessionWidget->setLoginWidgetsEnabled(m_enmState == State_SessionPossible || 1450 m_enmState == State_SessionRunning || 1451 m_enmState == State_SessionError); 1440 1452 if (m_enmState == State_SessionPossible) 1441 1453 m_pGuestSessionWidget->switchSessionOpenMode(); -
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManagerGuestTable.h
r93726 r95711 114 114 State_SessionRunning, 115 115 State_MachinePaused, 116 State_SessionError, 116 117 State_Max 117 118 };
Note:
See TracChangeset
for help on using the changeset viewer.