Changeset 102811 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jan 10, 2024 11:08:41 AM (11 months ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/manager/tools
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/tools/UITools.cpp
r102107 r102811 144 144 { 145 145 /* Model connections: */ 146 connect(m_pToolsModel, &UIToolsModel::sigClose, 147 this, &UITools::close); 146 148 connect(m_pToolsModel, &UIToolsModel::sigItemMinimumWidthHintChanged, 147 149 m_pToolsView, &UIToolsView::sltMinimumWidthHintChanged); -
trunk/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsHandlerMouse.cpp
r98103 r102811 76 76 { 77 77 model()->setCurrentItem(pClickedItem); 78 model()->close Parent();78 model()->close(); 79 79 } 80 80 break; -
trunk/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsModel.cpp
r102112 r102811 169 169 } 170 170 171 void UIToolsModel::closeParent() 172 { 173 if (m_pTools) 174 m_pTools->close(); 171 void UIToolsModel::close() 172 { 173 emit sigClose(); 175 174 } 176 175 -
trunk/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsModel.h
r102107 r102811 64 64 signals: 65 65 66 /** @name General stuff. 67 * @{ */ 68 /** Notifies about closing request. */ 69 void sigClose(); 70 /** @} */ 71 66 72 /** @name Selection stuff. 67 73 * @{ */ … … 125 131 QList<UIToolType> restrictedToolTypes() const; 126 132 127 /** Closes parent. */128 void close Parent();133 /** Asks parent to close. */ 134 void close(); 129 135 /** @} */ 130 136
Note:
See TracChangeset
for help on using the changeset viewer.