Changeset 35798 in vbox
- Timestamp:
- Jan 31, 2011 6:09:28 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 69774
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/UIVMPreviewWindow.cpp
r35795 r35798 95 95 if (m_pGlossyImg) 96 96 delete m_pGlossyImg; 97 if (m_pPreviewImg) 98 delete m_pPreviewImg; 97 99 } 98 100 … … 399 401 /* Delete the old images */ 400 402 if (m_pbgImage) 403 { 401 404 delete m_pbgImage; 405 m_pbgImage = 0; 406 } 402 407 if (m_pGlossyImg) 408 { 403 409 delete m_pGlossyImg; 410 m_pGlossyImg = 0; 411 } 404 412 405 413 /* Check that there is enough room for our fancy stuff. If not we just 406 * draw nothing . */414 * draw nothing (the border and the blur radius). */ 407 415 QRect cr = contentsRect(); 408 if ( cr.width() < 30409 || cr.height() < 30)416 if ( cr.width() < 41 417 || cr.height() < 41) 410 418 return; 411 419
Note:
See TracChangeset
for help on using the changeset viewer.