public:
SyncBreakpointsJob(QScriptDebuggerPrivate *debugger)
: QScriptDebuggerCommandSchedulerJob(debugger),
- m_debugger(debugger), m_index(-1) {}
+ m_debugger(debugger) {}
void start()
{
QScriptDebuggerCommandSchedulerFrontend frontend(commandScheduler(), this);
private:
QScriptDebuggerPrivate *m_debugger;
- int m_index;
QList<QScriptContextInfo> m_infos;
};
QSvgQualityStyle::QSvgQualityStyle(int color)
- : m_colorRendering(color)
{
-
+ Q_UNUSED(color);
}
void QSvgQualityStyle::apply(QPainter *, const QSvgNode *, QSvgExtraStates &)
{
QSvgAnimateTransform::QSvgAnimateTransform(int startMs, int endMs, int byMs )
: QSvgStyleProperty(),
- m_from(startMs), m_to(endMs), m_by(byMs),
+ m_from(startMs), m_to(endMs),
m_type(Empty), m_additive(Replace), m_count(0), m_finished(false), m_transformApplied(false)
{
m_totalRunningTime = m_to - m_from;
+ Q_UNUSED(byMs);
}
void QSvgAnimateTransform::setArgs(TransformType type, Additive additive, const QVector<qreal> &args)
QSvgAnimateColor::QSvgAnimateColor(int startMs, int endMs, int byMs)
: QSvgStyleProperty(),
- m_from(startMs), m_to(endMs), m_by(byMs),
+ m_from(startMs), m_to(endMs),
m_finished(false)
{
m_totalRunningTime = m_to - m_from;
+ Q_UNUSED(byMs);
}
void QSvgAnimateColor::setArgs(bool fill,
private:
// color-render ing v v 'auto' | 'optimizeSpeed' |
// 'optimizeQuality' | 'inherit'
- int m_colorRendering;
+ //int m_colorRendering;
// shape-rendering v v 'auto' | 'optimizeSpeed' | 'crispEdges' |
// 'geometricPrecision' | 'inherit'
protected:
void resolveMatrix(const QSvgNode *node);
private:
- qreal m_from, m_to, m_by;
+ qreal m_from, m_to;
qreal m_totalRunningTime;
TransformType m_type;
Additive m_additive;
virtual void revert(QPainter *p, QSvgExtraStates &states);
virtual Type type() const;
private:
- qreal m_from, m_to, m_by;
+ qreal m_from, m_to;
qreal m_totalRunningTime;
QList<QColor> m_colors;
QBrush m_oldBrush;