VirtualBox

Changeset 73426 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 1, 2018 2:22:59 PM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: A couple of small style fixes for QIMainWindow.

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  
    2222/* GUI includes: */
    2323# include "QIMainWindow.h"
    24 # include "VBoxGlobal.h"
    25 # include "UIDesktopWidgetWatchdog.h"
     24# ifdef VBOX_WS_X11
     25#  include "VBoxGlobal.h"
     26# endif
    2627
    2728#endif /* !VBOX_WITH_PRECOMPILED_HEADERS */
     
    3940    move(m_geometry.topLeft());
    4041    resize(m_geometry.size());
    41 #else /* !VBOX_WS_MAC && !VBOX_WS_WIN */
     42#elif defined(VBOX_WS_X11)
    4243    /* Use the new approach for X11: */
    4344    VBoxGlobal::setTopLevelGeometry(this, m_geometry);
    44 #endif /* !VBOX_WS_MAC && !VBOX_WS_WIN */
     45#endif /* VBOX_WS_X11 */
    4546
    4647    /* Maximize (if necessary): */
     
    4849        showMaximized();
    4950}
    50 
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIMainWindow.h

    r71630 r73426  
    2121/* Qt includes: */
    2222#include <QMainWindow>
     23#include <QRect>
    2324
    2425/* GUI includes: */
    2526#include "UILibraryDefs.h"
     27
     28/* Forward declarations: */
     29class QWidget;
    2630
    2731/** QMainWindow extension providing GUI
     
    4953
    5054#endif /* !___QIMainWindow_h___ */
    51 
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette