Fixed compiler warnings.

This commit is contained in:
hiker
2014-05-30 10:07:13 +10:00
committed by Bart Cools
parent 43971c1e79
commit 45ac7d5e03
3 changed files with 3 additions and 3 deletions

View File

@@ -70,7 +70,7 @@ class KartStatsWidget : public Widget
virtual void add();
/** Move the widget and its children */
virtual void move(int x, int y, int w, int h);
virtual void move(const int x, const int y, const int w, const int h);
// -------------------------------------------------------------------------
/** Updates the animation (moving/shrinking/etc.) */

View File

@@ -83,7 +83,7 @@ void SkillLevelWidget::add()
// -----------------------------------------------------------------------------
void SkillLevelWidget::move(int x, int y, int w, int h)
void SkillLevelWidget::move(const int x, const int y, const int w, const int h)
{
Widget::move(x,y,w,h);
setSize(m_x, m_y, m_w, m_h);

View File

@@ -72,7 +72,7 @@ class SkillLevelWidget : public Widget
// -------------------------------------------------------------------------
virtual void move(int x, int y, int w, int h);
virtual void move(const int x, const int y, const int w, const int h);
// -------------------------------------------------------------------------