Commit 357c2f92 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Group boolean members for improved byte layout

parent 019df53b
......@@ -37,8 +37,8 @@ class AbstractWorkerThreadPrivate
m_parent->wait( 1000 );
}
bool m_running;
QMutex m_runningMutex;
bool m_running;
bool m_end;
AbstractWorkerThread *m_parent;
......
......@@ -23,8 +23,8 @@ class GeoDataLineStylePrivate
public:
GeoDataLineStylePrivate()
: m_width( 1.0 ), m_physicalWidth( 0.0 ),
m_cosmeticOutline( false ), m_capStyle( Qt::FlatCap ),
m_penStyle( Qt::SolidLine ), m_background( false )
m_capStyle( Qt::FlatCap ), m_penStyle( Qt::SolidLine ),
m_cosmeticOutline( false ), m_background( false )
{
}
......@@ -37,9 +37,9 @@ class GeoDataLineStylePrivate
float m_width;
/// The current real width of the line
float m_physicalWidth;
bool m_cosmeticOutline;
Qt::PenCapStyle m_capStyle;
Qt::PenStyle m_penStyle;
bool m_cosmeticOutline;
bool m_background;
QVector< qreal > m_pattern;
};
......
......@@ -51,12 +51,12 @@ public:
GeoDataLineString m_lineString;
bool m_lineStringNeedsUpdate;
bool m_interpolate;
QVector<QDateTime> m_when;
QVector<GeoDataCoordinates> m_coordinates;
GeoDataExtendedData m_extendedData;
bool m_interpolate;
};
GeoDataTrack::GeoDataTrack() :
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment