Mercurial > hg > sonic-visualiser
comparison main/SVSplash.cpp @ 1288:ee908153066e project-file-rework
Tidying
author | Chris Cannam |
---|---|
date | Tue, 25 Oct 2016 15:32:41 +0100 |
parents | e12fd2303ed2 |
children | 893f556cd5c9 |
comparison
equal
deleted
inserted
replaced
1287:6eac13265750 | 1288:ee908153066e |
---|---|
52 | 52 |
53 delete p1; | 53 delete p1; |
54 m_pixmap = new QPixmap(int(floor(sw * dpratio)), | 54 m_pixmap = new QPixmap(int(floor(sw * dpratio)), |
55 int(floor(sh * dpratio))); | 55 int(floor(sh * dpratio))); |
56 | 56 |
57 cerr << "pixmap size = " << m_pixmap->width() << " * " | 57 // cerr << "pixmap size = " << m_pixmap->width() << " * " |
58 << m_pixmap->height() << endl; | 58 // << m_pixmap->height() << endl; |
59 | 59 |
60 m_pixmap->fill(Qt::red); | 60 m_pixmap->fill(Qt::red); |
61 QSvgRenderer renderer(QString(":icons/scalable/sv-splash.svg")); | 61 QSvgRenderer renderer(QString(":icons/scalable/sv-splash.svg")); |
62 QPainter painter(m_pixmap); | 62 QPainter painter(m_pixmap); |
63 renderer.render(&painter); | 63 renderer.render(&painter); |