fix member variable initialization order to remove warnings

This commit is contained in:
Stephen Birarda 2013-07-10 09:59:14 -07:00
parent e910680fa4
commit 488a4affd3
2 changed files with 3 additions and 3 deletions

View file

@ -3,8 +3,8 @@
Swatch::Swatch(QAction* action) : Swatch::Swatch(QAction* action) :
Tool(action, 0, -1, -1), Tool(action, 0, -1, -1),
_selected(1), _textRenderer(MONO_FONT_FAMILY, 10, 100),
_textRenderer(MONO_FONT_FAMILY, 10, 100) { _selected(1) {
} }
void Swatch::reset() { void Swatch::reset() {

View file

@ -5,8 +5,8 @@
#include <QGLWidget> #include <QGLWidget>
Tool::Tool(QAction *action, GLuint texture, int x, int y) : Tool::Tool(QAction *action, GLuint texture, int x, int y) :
_texture(texture),
_action(action), _action(action),
_texture(texture),
_x(x), _x(x),
_y(y) { _y(y) {
} }