Skip to content

Commit

Permalink
Default-initialise ttextedit values
Browse files Browse the repository at this point in the history
  • Loading branch information
vadi2 committed Sep 21, 2019
1 parent 685a094 commit e22512d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/TTextEdit.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class TTextEdit : public QWidget
QRegion mSelectedRegion;
bool mShowTimeStamps;
int mWrapAt;
int mWrapIndentCount;
int mWrapIndentCount {};
qreal mLetterSpacing;

public slots:
Expand Down Expand Up @@ -146,8 +146,8 @@ private slots:
// last line offset rendered
int mLastRenderBottom;
bool mMouseTracking;
bool mCtrlSelecting;
int mDragStartY;
bool mCtrlSelecting {};
int mDragStartY {};
int mOldScrollPos;
QPoint mPA;
QPoint mPB;
Expand Down

0 comments on commit e22512d

Please sign in to comment.