VirtualBox

Ignore:
Timestamp:
Sep 19, 2014 3:26:52 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
96190
Message:

FE/Qt: Runtime UI: Reverting r95753 because this functionality still required.

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

Legend:

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

    r52758 r52796  
    110110        $(if $(VBOX_GUI_WITH_HIDPI),VBOX_GUI_WITH_HIDPI) \
    111111        $(if $(VBOX_GUI_WITH_PIDFILE),VBOX_GUI_WITH_PIDFILE) \
    112         $(if $(VBOX_GUI_WITH_KEYS_RESET_HANDLER),VBOX_GUI_WITH_KEYS_RESET_HANDLER)
     112        $(if $(VBOX_GUI_WITH_KEYS_RESET_HANDLER),VBOX_GUI_WITH_KEYS_RESET_HANDLER) \
     113        $(if $(VBOX_GUI_WITH_CUSTOMIZATIONS1),VBOX_GUI_WITH_CUSTOMIZATIONS1)
    113114ifdef VBOX_WITH_DEBUGGER_GUI
    114115 VirtualBox_DEFS        += VBOX_WITH_DEBUGGER_GUI
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineWindowNormal.cpp

    r52730 r52796  
    292292    /* Call to base-class: */
    293293    UIMachineWindow::prepareVisualState();
     294
     295#ifdef VBOX_GUI_WITH_CUSTOMIZATIONS1
     296    /* Customer request: The background has to go black: */
     297    QPalette palette(centralWidget()->palette());
     298    palette.setColor(centralWidget()->backgroundRole(), Qt::black);
     299    centralWidget()->setPalette(palette);
     300    centralWidget()->setAutoFillBackground(true);
     301    setAutoFillBackground(true);
     302#endif /* VBOX_GUI_WITH_CUSTOMIZATIONS1 */
    294303
    295304#ifdef Q_WS_MAC
     
    453462void UIMachineWindowNormal::normalizeGeometry(bool fAdjustPosition)
    454463{
     464#ifndef VBOX_GUI_WITH_CUSTOMIZATIONS1
    455465    /* Skip if maximized: */
    456466    if (isMaximized())
     
    484494    setGeometry(frameGeo.left() + dl, frameGeo.top() + dt,
    485495                frameGeo.width() - dl - dr, frameGeo.height() - dt - db);
     496#else /* VBOX_GUI_WITH_CUSTOMIZATIONS1 */
     497    /* Customer request: There should no be
     498     * machine-window resize on machine-view resize: */
     499    Q_UNUSED(fAdjustPosition);
     500#endif /* VBOX_GUI_WITH_CUSTOMIZATIONS1 */
    486501}
    487502
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