Changeset 100160 in vbox
- Timestamp:
- Jun 12, 2023 5:40:05 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoCreator.cpp
r100159 r100160 299 299 { 300 300 Q_UNUSED(pEvent); 301 if (m_pOverlayWidget && m_fShowSettingsDialog) 302 { 301 303 #ifndef VBOX_IS_QT6_OR_LATER 302 if (m_pOverlayWidget && m_fShowSettingsDialog)303 {304 304 const QPixmap *pLabelPixmap = m_pOverlayWidget->pixmap(); 305 305 if (pLabelPixmap) … … 309 309 m_pOverlayWidget->setPixmap(newPixmap); 310 310 } 311 } 311 #else 312 QPixmap labelPixmap = m_pOverlayWidget->pixmap(); 313 QPixmap newPixmap = labelPixmap.scaled(m_pOverlayWidget->size(), Qt::IgnoreAspectRatio, Qt::SmoothTransformation); 314 if (!newPixmap.isNull()) 315 m_pOverlayWidget->setPixmap(newPixmap); 312 316 #endif 317 } 313 318 } 314 319
Note:
See TracChangeset
for help on using the changeset viewer.