Apply suggestions from code review

Co-authored-by: TheKodeToad <TheKodeToad@proton.me>
Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
(cherry picked from commit 1d1a4f1b30837e13ebd99c016af171d79697f22f)
This commit is contained in:
Alexandru Ionut Tripon 2025-02-11 21:02:27 +02:00 committed by github-actions[bot]
parent 9616d898d4
commit 159771f283
2 changed files with 4 additions and 4 deletions

View File

@ -33,11 +33,11 @@ class LogModel : public QAbstractListModel {
private /* types */: private /* types */:
struct entry { struct entry {
MessageLevel::Enum level = MessageLevel::Enum::Unknown; MessageLevel::Enum level = MessageLevel::Enum::Unknown;
QString line = {}; QString line;
}; };
private: /* data */ private: /* data */
QVector<entry> m_content = {}; QVector<entry> m_content;
int m_maxLines = 1000; int m_maxLines = 1000;
// first line in the circular buffer // first line in the circular buffer
int m_firstLine = 0; int m_firstLine = 0;

View File

@ -58,7 +58,7 @@ class CheckComboBox : public QComboBox {
void toggleCheckState(int index); void toggleCheckState(int index);
private: private:
QString m_default_text = {}; QString m_default_text;
QString m_separator = {}; QString m_separator;
bool m_containerMousePress = false; bool m_containerMousePress = false;
}; };