Fix all warnings from the cppcoreguidelines-pro-type-member-init clang-tidy check (#4426)

This commit is contained in:
pajlada
2023-09-09 13:11:19 +02:00
committed by GitHub
parent 877a4e05fa
commit d4558b5fe5
26 changed files with 44 additions and 42 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ private:
struct {
GenericListView *listView;
} ui_;
} ui_{};
GenericListModel model_;
ActionCallback callback_;
+3 -3
View File
@@ -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;
};
+1 -1
View File
@@ -129,7 +129,7 @@ protected:
QHBoxLayout *replyHbox;
QLabel *replyLabel;
EffectLabel *cancelReplyButton;
} ui_;
} ui_{};
std::shared_ptr<MessageThread> replyThread_ = nullptr;
bool enableInlineReplying_;