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) :
Tool(action, 0, -1, -1),
_selected(1),
_textRenderer(MONO_FONT_FAMILY, 10, 100) {
_textRenderer(MONO_FONT_FAMILY, 10, 100),
_selected(1) {
}
void Swatch::reset() {

View file

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