Fix all warnings from the cppcoreguidelines-pro-type-member-init clang-tidy check (#4426)
This commit is contained in:
@@ -57,7 +57,7 @@ private:
|
||||
|
||||
struct {
|
||||
GenericListView *listView;
|
||||
} ui_;
|
||||
} ui_{};
|
||||
|
||||
GenericListModel model_;
|
||||
ActionCallback callback_;
|
||||
|
||||
@@ -121,7 +121,7 @@ public:
|
||||
|
||||
Type type_;
|
||||
Split *split_;
|
||||
Node *preferedFocusTarget_;
|
||||
Node *preferedFocusTarget_{};
|
||||
Node *parent_;
|
||||
QRectF geometry_;
|
||||
qreal flexH_ = 1;
|
||||
@@ -158,7 +158,7 @@ private:
|
||||
{
|
||||
public:
|
||||
SplitContainer *parent;
|
||||
Node *node;
|
||||
Node *node{};
|
||||
|
||||
void setVertical(bool isVertical);
|
||||
ResizeHandle(SplitContainer *_parent = nullptr);
|
||||
@@ -173,7 +173,7 @@ private:
|
||||
private:
|
||||
void resetFlex();
|
||||
|
||||
bool vertical_;
|
||||
bool vertical_{};
|
||||
bool isMouseDown_ = false;
|
||||
};
|
||||
|
||||
|
||||
@@ -129,7 +129,7 @@ protected:
|
||||
QHBoxLayout *replyHbox;
|
||||
QLabel *replyLabel;
|
||||
EffectLabel *cancelReplyButton;
|
||||
} ui_;
|
||||
} ui_{};
|
||||
|
||||
std::shared_ptr<MessageThread> replyThread_ = nullptr;
|
||||
bool enableInlineReplying_;
|
||||
|
||||
Reference in New Issue
Block a user