VirtualBox

Changeset 51404 in vbox


Ignore:
Timestamp:
May 26, 2014 5:10:44 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
93933
Message:

FE/Qt: 6749: Cleanup.

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r51304 r51404  
    8080VirtualBox_DEFS           =
    8181VirtualBox_DEFS.debug     = VBOX_CHECK_STATE # QT_FATAL_ASSERT
    82 VirtualBox_DEFS.darwin    = VBOX_GUI_USE_QIMAGE VBOX_GUI_USE_QUARTZ2D VBOX_WITH_TRANSLUCENT_SEAMLESS
    83 VirtualBox_DEFS.freebsd   = VBOX_GUI_USE_QIMAGE
    84 VirtualBox_DEFS.linux     = VBOX_GUI_USE_QIMAGE
    85 VirtualBox_DEFS.netbsd    = VBOX_GUI_USE_QIMAGE
    86 VirtualBox_DEFS.openbsd   = VBOX_GUI_USE_QIMAGE
    87 VirtualBox_DEFS.solaris   = VBOX_GUI_USE_QIMAGE
    88 VirtualBox_DEFS.win       = VBOX_GUI_USE_QIMAGE UNICODE QT_DLL
     82VirtualBox_DEFS.darwin    = VBOX_GUI_USE_QUARTZ2D VBOX_WITH_TRANSLUCENT_SEAMLESS
     83VirtualBox_DEFS.win       = UNICODE QT_DLL
    8984ifdef VBOX_WITH_ICHAT_THEATER
    9085 VirtualBox_DEFS.darwin += VBOX_WITH_ICHAT_THEATER
     
    979974                '-DMAC_OS_X_VERSION_MAX_ALLOWED=1050' \
    980975                '-DVBOX_GUI_USE_QUARTZ2D' \
    981                 '-DVBOX_GUI_USE_QIMAGE' \
    982976                '-o' $@ $<
    983977endif
  • trunk/src/VBox/Frontends/VirtualBox/src/main.cpp

    r51195 r51404  
    224224static void showHelp()
    225225{
    226     QString mode = "", dflt = "";
    227 #ifdef VBOX_GUI_USE_QIMAGE
    228     if (!mode.isEmpty())
    229         mode += "|";
    230     mode += "image";
    231 #endif /* VBOX_GUI_USE_QIMAGE */
    232 #ifdef VBOX_GUI_USE_QUARTZ2D
    233     if (!mode.isEmpty())
    234         mode += "|";
    235     mode += "quartz2d";
    236 #endif /* VBOX_GUI_USE_QUARTZ2D */
    237 #if defined(Q_WS_MAC) && defined(VBOX_GUI_USE_QUARTZ2D)
    238     dflt = "quartz2d";
    239 #elif defined(VBOX_GUI_USE_QIMAGE)
    240     dflt = "image";
    241 #else
    242 # error "Cannot determine the default render mode!"
    243 #endif
    244 
    245226    RTPrintf(VBOX_PRODUCT " Manager %s\n"
    246227            "(C) 2005-" VBOX_C_YEAR " " VBOX_VENDOR "\n"
     
    251232            "  --seamless                 switch to seamless mode during startup\n"
    252233            "  --fullscreen               switch to fullscreen mode during startup\n"
    253             "  --rmode %-18s select different render mode (default is %s)\n"
    254234            "  --no-startvm-errormsgbox   do not show a message box for VM start errors\n"
    255235            "  --restore-current          restore the current snapshot before starting\n"
     
    288268# endif
    289269            "\n",
    290             RTBldCfgVersion(),
    291             mode.toLatin1().constData(),
    292             dflt.toLatin1().constData());
     270            RTBldCfgVersion());
    293271    /** @todo Show this as a dialog on windows. */
    294272}
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBufferQImage.cpp

    r51371 r51404  
    1717 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    1818 */
    19 
    20 #ifdef VBOX_GUI_USE_QIMAGE
    2119
    2220#ifdef VBOX_WITH_PRECOMPILED_HEADERS
     
    384382}
    385383
    386 #endif /* VBOX_GUI_USE_QIMAGE */
    387 
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBufferQImage.h

    r51149 r51404  
    1616 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    1717 */
    18 
    19 #ifdef VBOX_GUI_USE_QIMAGE
    2018
    2119#ifndef ___UIFrameBufferQImage_h___
     
    7169
    7270#endif /* !___UIFrameBufferQImage_h___ */
    73 
    74 #endif /* VBOX_GUI_USE_QIMAGE */
    75 
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp

    r51401 r51404  
    414414    switch (rm)
    415415    {
    416 #ifdef VBOX_GUI_USE_QIMAGE
    417416        case RenderMode_QImage:
    418417        {
     
    447446            break;
    448447        }
    449 #endif /* VBOX_GUI_USE_QIMAGE */
    450448
    451449#ifdef VBOX_GUI_USE_QUARTZ2D
Note: See TracChangeset for help on using the changeset viewer.

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