Changeset 108103 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Feb 6, 2025 4:46:16 PM (3 months ago)
- svn:sync-xref-src-repo-rev:
- 167401
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp
r108084 r108103 2418 2418 /* Make sure menu-bar fills own solid background: */ 2419 2419 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 */ 2428 2422 2429 2423 /* Create action-pool: */
Note:
See TracChangeset
for help on using the changeset viewer.