Changeset 73426 in vbox for trunk/src/VBox
- Timestamp:
- Aug 1, 2018 2:22:59 PM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/extensions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIMainWindow.cpp
r71400 r73426 22 22 /* GUI includes: */ 23 23 # include "QIMainWindow.h" 24 # include "VBoxGlobal.h" 25 # include "UIDesktopWidgetWatchdog.h" 24 # ifdef VBOX_WS_X11 25 # include "VBoxGlobal.h" 26 # endif 26 27 27 28 #endif /* !VBOX_WITH_PRECOMPILED_HEADERS */ … … 39 40 move(m_geometry.topLeft()); 40 41 resize(m_geometry.size()); 41 #el se /* !VBOX_WS_MAC && !VBOX_WS_WIN */42 #elif defined(VBOX_WS_X11) 42 43 /* Use the new approach for X11: */ 43 44 VBoxGlobal::setTopLevelGeometry(this, m_geometry); 44 #endif /* !VBOX_WS_MAC && !VBOX_WS_WIN*/45 #endif /* VBOX_WS_X11 */ 45 46 46 47 /* Maximize (if necessary): */ … … 48 49 showMaximized(); 49 50 } 50 -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIMainWindow.h
r71630 r73426 21 21 /* Qt includes: */ 22 22 #include <QMainWindow> 23 #include <QRect> 23 24 24 25 /* GUI includes: */ 25 26 #include "UILibraryDefs.h" 27 28 /* Forward declarations: */ 29 class QWidget; 26 30 27 31 /** QMainWindow extension providing GUI … … 49 53 50 54 #endif /* !___QIMainWindow_h___ */ 51
Note:
See TracChangeset
for help on using the changeset viewer.