Changeset 52796 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Sep 19, 2014 3:26:52 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 96190
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r52758 r52796 110 110 $(if $(VBOX_GUI_WITH_HIDPI),VBOX_GUI_WITH_HIDPI) \ 111 111 $(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) 113 114 ifdef VBOX_WITH_DEBUGGER_GUI 114 115 VirtualBox_DEFS += VBOX_WITH_DEBUGGER_GUI -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineWindowNormal.cpp
r52730 r52796 292 292 /* Call to base-class: */ 293 293 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 */ 294 303 295 304 #ifdef Q_WS_MAC … … 453 462 void UIMachineWindowNormal::normalizeGeometry(bool fAdjustPosition) 454 463 { 464 #ifndef VBOX_GUI_WITH_CUSTOMIZATIONS1 455 465 /* Skip if maximized: */ 456 466 if (isMaximized()) … … 484 494 setGeometry(frameGeo.left() + dl, frameGeo.top() + dt, 485 495 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 */ 486 501 } 487 502
Note:
See TracChangeset
for help on using the changeset viewer.