comparison demos/browser/chasewidget.d @ 77:0654fc9bac95

more porting
author mandel
date Sun, 24 May 2009 13:46:32 +0000
parents 37caa90ce503
children 87bb4e622f9e
comparison
equal deleted inserted replaced
76:454e4b4beb59 77:0654fc9bac95
99 99
100 protected: 100 protected:
101 101
102 void paintEvent(QPaintEvent event) 102 void paintEvent(QPaintEvent event)
103 { 103 {
104 //Q_UNUSED(event);
105 auto p = new QPainter(this); 104 auto p = new QPainter(this);
106 if (m_pixmapEnabled && !m_pixmap.isNull()) { 105 if (m_pixmapEnabled && !m_pixmap.isNull()) {
107 p.drawPixmap(0, 0, m_pixmap); 106 p.drawPixmap(0, 0, m_pixmap);
108 return; 107 return;
109 } 108 }