Changeset 98569 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Feb 14, 2023 7:15:18 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIIndicatorsPool.cpp
r98525 r98569 344 344 m_pMachine->acquireAudioStatusInfo(strFullData, fAudioEnabled, fEnabledOutput, fEnabledInput); 345 345 346 /* Hide indicator if no audio enabled: */ 347 setVisible(fAudioEnabled); 346 /* Show/hide indicator if there are no attachments 347 * and parent is visible already: */ 348 if ( parentWidget() 349 && parentWidget()->isVisible()) 350 setVisible(fAudioEnabled); 348 351 349 352 /* Update tool-tip: */ … … 424 427 m_pMachine->acquireNetworkStatusInfo(strFullData, fAdaptersPresent, fCablesDisconnected); 425 428 426 /* Hide indicator if there are no enabled adapters: */ 427 setVisible(fAdaptersPresent); 429 /* Show/hide indicator if there are no attachments 430 * and parent is visible already: */ 431 if ( parentWidget() 432 && parentWidget()->isVisible()) 433 setVisible(fAdaptersPresent); 428 434 429 435 /* Update tool-tip: */ … … 467 473 m_pMachine->acquireUsbStatusInfo(strFullData, fUsbEnabled); 468 474 469 /* Hide indicator if no USB enabled: */ 470 setVisible(fUsbEnabled); 475 /* Show/hide indicator if there are no attachments 476 * and parent is visible already: */ 477 if ( parentWidget() 478 && parentWidget()->isVisible()) 479 setVisible(fUsbEnabled); 471 480 472 481 /* Update tool-tip: */
Note:
See TracChangeset
for help on using the changeset viewer.