VirtualBox

Changeset 34202 in vbox


Ignore:
Timestamp:
Nov 19, 2010 2:49:32 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
67942
Message:

FE/Qt4: tmp; create the QPixmap ourself

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UIVMListView.cpp

    r34200 r34202  
    597597    p.fillRect(image.rect(), QColor(0, 0, 0, 177));
    598598    p.end();
     599    QPixmap i1(s);
     600    i1.fill(Qt::transparent);
     601    QPainter p1(&i1);
     602    p1.drawImage(image.rect(), image);
     603    p1.end();
    599604#ifdef DEBUG
    600605    image.save("test.png", "PNG");
     606    i1.save("test_pixmap.png", "PNG");
    601607#endif
    602     return QPixmap::fromImage(image);
     608    return i1;//QPixmap::fromImage(image);
    603609}
    604610
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette