Changeset 92894 in vbox for trunk/src/VBox
- Timestamp:
- Dec 14, 2021 11:29:31 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 148849
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManagerGuestTable.cpp ¶
r92884 r92894 48 48 49 49 #include <iprt/path.h> 50 #include <iprt/err.h> 50 51 51 52 /********************************************************************************************************************************* … … 1263 1264 if (cErrorInfo.isOk() && !cErrorInfo.GetText().contains("success", Qt::CaseInsensitive)) 1264 1265 emit sigLogOutput(cErrorInfo.GetText(), m_strTableName, FileManagerLogType_Error); 1266 if (cErrorInfo.GetResultCode() == VERR_AUTHENTICATION_FAILURE) 1267 printf("boooooooooooo %d\n", cErrorInfo.GetResultCode()); 1265 1268 } 1266 1269 if (m_comGuestSession.isOk()) … … 1278 1281 } 1279 1282 else 1280 emit sigLogOutput("Guest session is not valid", m_strTableName, FileManagerLogType_Error); 1283 emit sigLogOutput(UIErrorString::formatErrorInfo(m_comGuestSession), m_strTableName, FileManagerLogType_Error); 1284 1281 1285 setStateAndEnableWidgets(); 1282 1286 } … … 1291 1295 return; 1292 1296 } 1293 if (m_pGuestSessionPanel) 1294 m_pGuestSessionPanel->markForError(!openGuestSession(strUserName, strPassword)); 1297 openGuestSession(strUserName, strPassword); 1295 1298 } 1296 1299 … … 1331 1334 cleanupGuestSessionListener(); 1332 1335 closeGuestSession(); 1336 setStateAndEnableWidgets(); 1333 1337 } 1334 1338 … … 1413 1417 this, &UIFileManagerGuestTable::sltGuestSessionStateChanged); 1414 1418 1415 if (m_comGuestSession.GetStatus() != KGuestSessionStatus_Started ||1416 m_comGuestSession.GetStatus() != KGuestSessionStatus_Starting)1417 return false;1418 1419 return true; 1419 1420 }
Note:
See TracChangeset
for help on using the changeset viewer.