mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 13:30:33 +02:00
fix member variable initialization order to remove warnings
This commit is contained in:
parent
e910680fa4
commit
488a4affd3
2 changed files with 3 additions and 3 deletions
|
@ -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() {
|
||||||
|
|
|
@ -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) {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue