mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-04-30 14:44:31 +02:00
Apply suggestions from code review
Co-authored-by: TheKodeToad <TheKodeToad@proton.me> Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
bf1084d7fa
commit
1d1a4f1b30
@ -33,11 +33,11 @@ class LogModel : public QAbstractListModel {
|
||||
private /* types */:
|
||||
struct entry {
|
||||
MessageLevel::Enum level = MessageLevel::Enum::Unknown;
|
||||
QString line = {};
|
||||
QString line;
|
||||
};
|
||||
|
||||
private: /* data */
|
||||
QVector<entry> m_content = {};
|
||||
QVector<entry> m_content;
|
||||
int m_maxLines = 1000;
|
||||
// first line in the circular buffer
|
||||
int m_firstLine = 0;
|
||||
|
@ -58,7 +58,7 @@ class CheckComboBox : public QComboBox {
|
||||
void toggleCheckState(int index);
|
||||
|
||||
private:
|
||||
QString m_default_text = {};
|
||||
QString m_separator = {};
|
||||
QString m_default_text;
|
||||
QString m_separator;
|
||||
bool m_containerMousePress = false;
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user