Changeset 52480 in vbox
- Timestamp:
- Aug 22, 2014 3:53:41 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 95697
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMenuBarEditorWindow.cpp
r52478 r52480 825 825 826 826 UIMenuBarEditorWindow::UIMenuBarEditorWindow(UIMachineWindow *pParent, UIActionPool *pActionPool) 827 #ifndef Q_WS_MAC 827 828 : UISlidingToolBar(pParent, pParent->menuBar(), new UIMenuBarEditorWidget(pActionPool), UISlidingToolBar::Position_Top) 829 #else /* Q_WS_MAC */ 830 : UISlidingToolBar(pParent, 0, new UIMenuBarEditorWidget(pActionPool), UISlidingToolBar::Position_Top) 831 #endif /* Q_WS_MAC */ 828 832 { 829 833 } -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISlidingToolBar.cpp
r52402 r52480 32 32 : QWidget(pParentWidget, Qt::Tool | Qt::FramelessWindowHint) 33 33 , m_position(position) 34 , m_parentRect(pParentWidget ->geometry())35 , m_indentRect(pIndentWidget ->geometry())34 , m_parentRect(pParentWidget ? pParentWidget->geometry() : QRect()) 35 , m_indentRect(pIndentWidget ? pIndentWidget->geometry() : QRect()) 36 36 , m_pAnimation(0) 37 37 , m_fExpanded(false)
Note:
See TracChangeset
for help on using the changeset viewer.