mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Remove CDE style from progress bar for Qt4. Just use style sheets.
This commit is contained in:
parent
1e223a508a
commit
dbac2d71c8
@ -66,9 +66,6 @@
|
|||||||
#include "cvfRendering.h"
|
#include "cvfRendering.h"
|
||||||
#include "cvfScene.h"
|
#include "cvfScene.h"
|
||||||
|
|
||||||
#if QT_VERSION < 0x050000
|
|
||||||
#include <QCDEStyle>
|
|
||||||
#endif
|
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
#include <QMouseEvent>
|
#include <QMouseEvent>
|
||||||
|
|
||||||
@ -136,10 +133,6 @@ RiuViewer::RiuViewer(const QGLFormat& format, QWidget* parent)
|
|||||||
m_animationProgress->setAlignment(Qt::AlignCenter);
|
m_animationProgress->setAlignment(Qt::AlignCenter);
|
||||||
m_animationProgress->setObjectName("AnimationProgress");
|
m_animationProgress->setObjectName("AnimationProgress");
|
||||||
|
|
||||||
#if QT_VERSION < 0x050000
|
|
||||||
m_progressBarStyle = new QCDEStyle();
|
|
||||||
m_animationProgress->setStyle(m_progressBarStyle);
|
|
||||||
#endif
|
|
||||||
m_showAnimProgress = false;
|
m_showAnimProgress = false;
|
||||||
|
|
||||||
// Histogram
|
// Histogram
|
||||||
|
Loading…
Reference in New Issue
Block a user