Remove CDE style from progress bar for Qt4. Just use style sheets.

This commit is contained in:
Gaute Lindkvist 2019-04-08 10:02:01 +02:00
parent 1e223a508a
commit dbac2d71c8

View File

@ -66,9 +66,6 @@
#include "cvfRendering.h"
#include "cvfScene.h"
#if QT_VERSION < 0x050000
#include <QCDEStyle>
#endif
#include <QLabel>
#include <QMouseEvent>
@ -136,10 +133,6 @@ RiuViewer::RiuViewer(const QGLFormat& format, QWidget* parent)
m_animationProgress->setAlignment(Qt::AlignCenter);
m_animationProgress->setObjectName("AnimationProgress");
#if QT_VERSION < 0x050000
m_progressBarStyle = new QCDEStyle();
m_animationProgress->setStyle(m_progressBarStyle);
#endif
m_showAnimProgress = false;
// Histogram