mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-09-24 22:22:41 +01: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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user