Skip to content

Commit

Permalink
fix(units): Fix initialization order of two fields
Browse files Browse the repository at this point in the history
  • Loading branch information
iBelieve committed Jun 11, 2016
1 parent 0cada50 commit 4980966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/units.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#define DEFAULT_DPI 72

UnitsAttached::UnitsAttached(QObject *attachee)
: QObject(attachee), m_screen(nullptr), m_window(nullptr), m_multiplier(1), m_dpi(0)
: QObject(attachee), m_screen(nullptr), m_window(nullptr), m_dpi(0), m_multiplier(1)
{
m_attachee = qobject_cast<QQuickItem *>(attachee);

Expand Down

0 comments on commit 4980966

Please sign in to comment.