Fix all warnings from the cppcoreguidelines-pro-type-member-init clang-tidy check (#4426)
This commit is contained in:
@@ -256,8 +256,8 @@ private:
|
||||
void showReplyThreadPopup(const MessagePtr &message);
|
||||
bool canReplyToMessages() const;
|
||||
|
||||
QTimer *layoutCooldown_;
|
||||
bool layoutQueued_;
|
||||
QTimer *layoutCooldown_{};
|
||||
bool layoutQueued_{};
|
||||
|
||||
QTimer updateTimer_;
|
||||
bool updateQueued_ = false;
|
||||
@@ -286,7 +286,7 @@ private:
|
||||
Split *split_ = nullptr;
|
||||
|
||||
Scrollbar *scrollBar_;
|
||||
EffectLabel *goToBottom_;
|
||||
EffectLabel *goToBottom_{};
|
||||
bool showScrollBar_ = false;
|
||||
|
||||
FilterSetPtr channelFilters_;
|
||||
|
||||
@@ -24,7 +24,7 @@ public:
|
||||
|
||||
void updateSize();
|
||||
|
||||
QWidget *page;
|
||||
QWidget *page{};
|
||||
|
||||
void setCustomTitle(const QString &title);
|
||||
void resetCustomTitle();
|
||||
|
||||
@@ -35,9 +35,9 @@ public:
|
||||
private:
|
||||
std::shared_ptr<QColor> color_;
|
||||
Style style_;
|
||||
bool isRedeemedHighlight_;
|
||||
bool isFirstMessageHighlight_;
|
||||
bool isElevatedMessageHighlight_;
|
||||
bool isRedeemedHighlight_{};
|
||||
bool isFirstMessageHighlight_{};
|
||||
bool isElevatedMessageHighlight_{};
|
||||
};
|
||||
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -27,7 +27,7 @@ protected:
|
||||
void paintEvent(QPaintEvent *) override;
|
||||
|
||||
private:
|
||||
TitleBarButtonStyle style_;
|
||||
TitleBarButtonStyle style_{};
|
||||
};
|
||||
|
||||
} // namespace chatterino
|
||||
|
||||
Reference in New Issue
Block a user