mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
profilewidget2: fix -Wreorder warnings
warning: 'ProfileWidget2::someVariableName' will be initialized after [-Wreorder] Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
90982a84fa
commit
8b3ebaa8a3
1 changed files with 3 additions and 3 deletions
|
@ -61,11 +61,12 @@ static struct _ItemPos {
|
||||||
} itemPos;
|
} itemPos;
|
||||||
|
|
||||||
ProfileWidget2::ProfileWidget2(QWidget *parent) : QGraphicsView(parent),
|
ProfileWidget2::ProfileWidget2(QWidget *parent) : QGraphicsView(parent),
|
||||||
dataModel(new DivePlotDataModel(this)),
|
|
||||||
currentState(INVALID),
|
currentState(INVALID),
|
||||||
|
dataModel(new DivePlotDataModel(this)),
|
||||||
zoomLevel(0),
|
zoomLevel(0),
|
||||||
zoomFactor(1.15),
|
zoomFactor(1.15),
|
||||||
background(new DivePixmapItem()),
|
background(new DivePixmapItem()),
|
||||||
|
backgroundFile(":poster"),
|
||||||
toolTipItem(new ToolTipItem()),
|
toolTipItem(new ToolTipItem()),
|
||||||
isPlotZoomed(prefs.zoomed_plot),
|
isPlotZoomed(prefs.zoomed_plot),
|
||||||
profileYAxis(new DepthAxis()),
|
profileYAxis(new DepthAxis()),
|
||||||
|
@ -88,8 +89,7 @@ ProfileWidget2::ProfileWidget2(QWidget *parent) : QGraphicsView(parent),
|
||||||
rulerItem(new RulerItem2()),
|
rulerItem(new RulerItem2()),
|
||||||
isGrayscale(false),
|
isGrayscale(false),
|
||||||
printMode(false),
|
printMode(false),
|
||||||
shouldCalculateMaxTime(true),
|
shouldCalculateMaxTime(true)
|
||||||
backgroundFile(":poster")
|
|
||||||
{
|
{
|
||||||
memset(&plotInfo, 0, sizeof(plotInfo));
|
memset(&plotInfo, 0, sizeof(plotInfo));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue