Changeset 107263 in vbox
- Timestamp:
- Dec 9, 2024 4:05:53 PM (6 weeks ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/manager
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp
r106061 r107263 830 830 831 831 /* Chooser-pane connections: */ 832 connect(this, &UIVirtualBoxManagerWidget::sigToolBarHeightChange,833 m_pPaneChooser, &UIChooser::setGlobalItemHeightHint);834 832 connect(m_pPaneChooser, &UIChooser::sigSelectionChanged, 835 833 this, &UIVirtualBoxManagerWidget::sltHandleChooserPaneIndexChange); … … 1087 1085 1088 1086 /* Chooser-pane connections: */ 1089 disconnect(this, &UIVirtualBoxManagerWidget::sigToolBarHeightChange,1090 m_pPaneChooser, &UIChooser::setGlobalItemHeightHint);1091 1087 disconnect(m_pPaneChooser, &UIChooser::sigSelectionChanged, 1092 1088 this, &UIVirtualBoxManagerWidget::sltHandleChooserPaneIndexChange); -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooser.cpp
r106061 r107263 33 33 #include "UIChooserModel.h" 34 34 #include "UIChooserView.h" 35 #include "UIVirtualBoxManagerWidget.h" 35 36 #include "UIVirtualMachineItem.h" 36 37 37 38 38 UIChooser::UIChooser( QWidget *pParent, UIActionPool *pActionPool)39 UIChooser::UIChooser(UIVirtualBoxManagerWidget *pParent, UIActionPool *pActionPool) 39 40 : QWidget(pParent) 41 , m_pParent(pParent) 40 42 , m_pActionPool(pActionPool) 41 43 , m_pChooserModel(0) … … 277 279 AssertPtrReturnVoid(model()); 278 280 AssertPtrReturnVoid(view()); 281 282 /* Parent connections: */ 283 connect(m_pParent, &UIVirtualBoxManagerWidget::sigToolBarHeightChange, 284 this, &UIChooser::setGlobalItemHeightHint); 279 285 280 286 /* Abstract Chooser-model connections: */ … … 359 365 disconnect(view(), &UIChooserView::sigSearchWidgetVisibilityChanged, 360 366 this, &UIChooser::sigMachineSearchWidgetVisibilityChanged); 367 368 /* Parent connections: */ 369 disconnect(m_pParent, &UIVirtualBoxManagerWidget::sigToolBarHeightChange, 370 this, &UIChooser::setGlobalItemHeightHint); 361 371 } 362 372 -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooser.h
r106061 r107263 43 43 class UIChooserView; 44 44 class UIVirtualMachineItem; 45 class UIVirtualBoxManagerWidget; 45 46 class UIVirtualMachineItemCloud; 46 47 … … 104 105 /** Constructs Chooser-pane passing @a pParent to the base-class. 105 106 * @param pActionPool Brings the action-pool reference. */ 106 UIChooser( QWidget *pParent, UIActionPool *pActionPool);107 UIChooser(UIVirtualBoxManagerWidget *pParent, UIActionPool *pActionPool); 107 108 /** Destructs Chooser-pane. */ 108 109 virtual ~UIChooser() RT_OVERRIDE; … … 237 238 /** @name General stuff. 238 239 * @{ */ 240 /** Holds the parent reference. */ 241 UIVirtualBoxManagerWidget *m_pParent; 242 239 243 /** Holds the action-pool reference. */ 240 244 UIActionPool *m_pActionPool;
Note:
See TracChangeset
for help on using the changeset viewer.