VirtualBox

Ignore:
Timestamp:
Feb 6, 2025 4:46:16 PM (3 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167401
Message:

FE/Qt: bugref:10814: VBox Manager: No more Windows fix for menu-bar required; Not supported by Qt6.8.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp

    r108084 r108103  
    24182418        /* Make sure menu-bar fills own solid background: */
    24192419        menuBar()->setAutoFillBackground(true);
    2420 # ifdef VBOX_WS_WIN
    2421         // WORKAROUND:
    2422         // On Windows we have to override Windows Vista style with style-sheet:
    2423         menuBar()->setStyleSheet(QString("QMenuBar { background-color: %1; }")
    2424                                         .arg(QApplication::palette().color(QPalette::Active, QPalette::Window).name(QColor::HexRgb)));
    2425 # endif
    2426     }
    2427 #endif
     2420    }
     2421#endif /* !VBOX_WS_MAC */
    24282422
    24292423    /* Create action-pool: */
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