- Timestamp:
- Aug 7, 2021 11:35:44 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter/UINotificationCenter.cpp
r90563 r90565 287 287 * height, we will have to align items added above up. */ 288 288 m_pLayoutItems->addStretch(); 289 290 /* Hide and slide away if there are no notifications to show: */ 291 setHidden(m_pModel->ids().isEmpty()); 292 if (m_pModel->ids().isEmpty() && m_pOpenButton->isChecked()) 293 m_pOpenButton->toggle(); 289 294 } 290 295 291 296 void UINotificationCenter::prepare() 292 297 { 298 /* Hide initially: */ 299 setHidden(true); 300 293 301 /* Listen for parent events: */ 294 302 if (parent())
Note:
See TracChangeset
for help on using the changeset viewer.