Swap two initializers to avoid a warning from gcc: "n_ will be initialized

after closed_".
This commit is contained in:
Laurent Rineau 2008-11-13 10:25:42 +00:00
parent 1e696a6907
commit 2795375b05
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ GraphicsViewPolylineInput_non_templated_base(QObject* parent,
QGraphicsScene* s,
int n,
bool closed)
: GraphicsViewInput(parent), path_item(NULL), b(NULL), e(NULL), n_(n), closed_(closed) , scene_(s)
: GraphicsViewInput(parent), path_item(NULL), b(NULL), e(NULL), closed_(closed), n_(n), scene_(s)
{}