diff options
Diffstat (limited to 'src/widget/wvumeter.cpp')
-rw-r--r-- | src/widget/wvumeter.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/widget/wvumeter.cpp b/src/widget/wvumeter.cpp index 6e06261498..27202737f5 100644 --- a/src/widget/wvumeter.cpp +++ b/src/widget/wvumeter.cpp @@ -79,7 +79,8 @@ void WVuMeter::resetPositions() { } void WVuMeter::setPixmapBackground(const QString& filename) { - m_pPixmapBack = WPixmapStore::getPaintable(filename); + m_pPixmapBack = WPixmapStore::getPaintable(filename, + Paintable::TILE); if (m_pPixmapBack.isNull() || m_pPixmapBack->isNull()) { qDebug() << metaObject()->className() << "Error loading background pixmap:" << filename; @@ -90,7 +91,8 @@ void WVuMeter::setPixmapBackground(const QString& filename) { void WVuMeter::setPixmaps(const QString &vuFilename, bool bHorizontal) { - m_pPixmapVu = WPixmapStore::getPaintable(vuFilename); + m_pPixmapVu = WPixmapStore::getPaintable(vuFilename, + Paintable::STRETCH); if (m_pPixmapVu.isNull() || m_pPixmapVu->isNull()) { qDebug() << "WVuMeter: Error loading vu pixmap" << vuFilename; } else { |