1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-02-20 20:09:14 +00:00

Fix initialization oreder in TerminalDisplay

Data members need to be initialized in the order they were declared in
the class definition. This commit fixes compiler warnings.
This commit is contained in:
Boris Egorov 2014-08-30 01:20:47 +07:00
parent 46edda6d18
commit 6a8cdbab4c

View File

@ -124,6 +124,10 @@ const QChar LTR_OVERRIDE_CHAR( 0x202D );
/* ------------------------------------------------------------------------- */
KTerminalDisplay::KTerminalDisplay(QQuickItem *parent) :
QQuickPaintedItem(parent)
,m_session(0)
,m_focusOnClick(true)
,m_showVKBonClick(true)
,m_parent(parent)
,_screenWindow(0)
,_allowBell(true)
,_fontHeight(1)
@ -159,10 +163,6 @@ KTerminalDisplay::KTerminalDisplay(QQuickItem *parent) :
,_colorsInverted(false)
,_cursorShape(BlockCursor)
,_mouseMarks(false)
,m_session(0)
,m_focusOnClick(true)
,m_showVKBonClick(true)
,m_parent(parent)
{
_blendColor = qRgba(0,0,0,0xff);
m_widgetRect = QRectF(0,0,1,1);