Changeset 98525 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Feb 10, 2023 2:58:35 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIIndicatorsPool.cpp
r98516 r98525 202 202 m_pMachine->acquireHardDiskStatusInfo(strFullData, fAttachmentsPresent); 203 203 204 /* Hide indicator if there are no attachments: */ 205 setVisible(fAttachmentsPresent); 204 /* Show/hide indicator if there are no attachments 205 * and parent is visible already: */ 206 if ( parentWidget() 207 && parentWidget()->isVisible()) 208 setVisible(fAttachmentsPresent); 206 209 207 210 /* Update tool-tip: */ … … 243 246 m_pMachine->acquireOpticalDiskStatusInfo(strFullData, fAttachmentsPresent, fAttachmentsMounted); 244 247 245 /* Hide indicator if there are no attachments: */ 246 setVisible(fAttachmentsPresent); 248 /* Show/hide indicator if there are no attachments 249 * and parent is visible already: */ 250 if ( parentWidget() 251 && parentWidget()->isVisible()) 252 setVisible(fAttachmentsPresent); 247 253 248 254 /* Update tool-tip: */ … … 284 290 m_pMachine->acquireFloppyDiskStatusInfo(strFullData, fAttachmentsPresent, fAttachmentsMounted); 285 291 286 /* Hide indicator if there are no attachments: */ 287 setVisible(fAttachmentsPresent); 292 /* Show/hide indicator if there are no attachments 293 * and parent is visible already: */ 294 if ( parentWidget() 295 && parentWidget()->isVisible()) 296 setVisible(fAttachmentsPresent); 288 297 289 298 /* Update tool-tip: */
Note:
See TracChangeset
for help on using the changeset viewer.