Commit c7fb6187 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Remove unused variables

parent 0cec8584
Pipeline #256084 passed with stage
in 1 minute and 6 seconds
......@@ -37,7 +37,6 @@ namespace gui {
HintItem::HintItem(Scene* scene, const Move& hint, bool animate, qreal fill)
: QGraphicsSvgItem(), m_scene(scene), m_row(hint.y()),
m_col(hint.x()), m_fill(fill) {
m_sizeShrink = 1.0/(qrand()%5+7.0);
setElementId(QString(hint.player() == X ? QStringLiteral("x%1") : QStringLiteral("o%1"))
.arg(QString::number(qrand() % 5 + 1)));
m_tick = 16;
......
......@@ -67,7 +67,7 @@ private:
bool m_animate;
qreal m_opacity;
bool m_tickUp;
qreal m_sizeShrink, m_fill;
qreal m_fill;
QTimer *m_ticker;
};
......
......@@ -36,7 +36,6 @@ namespace gui {
Mark::Mark(Scene* scene, const Move& move, bool animate, qreal fill) : QGraphicsSvgItem(),
m_scene(scene), m_row(move.y()), m_col(move.x()), m_fill(fill) {
m_sizeShrink = 1.0/12.0; //1.0/(qrand()%5+7.0);
setElementId(QString(move.player() == X ? QStringLiteral("x%1") : QStringLiteral("o%1"))
.arg(QString::number(qrand() % 5 + 1)));
m_tick = 20;
......
......@@ -67,7 +67,7 @@ private:
Scene *m_scene;
int m_row;
int m_col;
qreal m_sizeShrink, m_fill;
qreal m_fill;
int m_tick;
bool m_animate;
qreal m_opacity;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment