Changeset 55726 in vbox for trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp
- Timestamp:
- May 7, 2015 1:53:34 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp
r55724 r55726 408 408 return; 409 409 410 /* Take the scal e-factorinto account: */410 /* Take the scaling-optimization type into account: */ 411 411 frameBuffer()->setScalingOptimizationType(gEDataManager->scalingOptimizationType(vboxGlobal().managedVMUuid())); 412 413 /* Update viewport: */ 414 viewport()->update(); 415 } 416 417 void UIMachineView::sltHandleHiDPIOptimizationChange(const QString &strMachineID) 418 { 419 /* Skip unrelated machine IDs: */ 420 if (strMachineID != vboxGlobal().managedVMUuid()) 421 return; 422 423 /* Take the HiDPI-optimization type into account: */ 424 frameBuffer()->setHiDPIOptimizationType(gEDataManager->hiDPIOptimizationType(vboxGlobal().managedVMUuid())); 412 425 413 426 /* Update viewport: */ … … 694 707 connect(gEDataManager, SIGNAL(sigScalingOptimizationTypeChange(const QString&)), 695 708 this, SLOT(sltHandleScalingOptimizationChange(const QString&))); 709 /* HiDPI-optimization change: */ 710 connect(gEDataManager, SIGNAL(sigHiDPIOptimizationTypeChange(const QString&)), 711 this, SLOT(sltHandleHiDPIOptimizationChange(const QString&))); 696 712 /* Unscaled HiDPI output mode change: */ 697 713 connect(gEDataManager, SIGNAL(sigUnscaledHiDPIOutputModeChange(const QString&)),
Note:
See TracChangeset
for help on using the changeset viewer.