feat: add debug printing for Version
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:

committed by
Edgars Cīrulis

parent
730f714e97
commit
9934537e19
@ -35,6 +35,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QDebug>
|
||||
#include <QString>
|
||||
#include <QStringView>
|
||||
#include <QList>
|
||||
@ -59,6 +60,8 @@ public:
|
||||
return m_string;
|
||||
}
|
||||
|
||||
friend QDebug operator<<(QDebug debug, const Version& v);
|
||||
|
||||
private:
|
||||
QString m_string;
|
||||
struct Section
|
||||
@ -143,7 +146,11 @@ private:
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
QList<Section> m_sections;
|
||||
|
||||
void parse();
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user