aboutsummaryrefslogtreecommitdiff
path: root/launcher/Version.h
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2023-01-19 09:46:35 +0200
committerEdgars Cīrulis <edgarsscirulis@gmail.com>2023-01-19 09:50:45 +0200
commit9934537e19c7ce6f9bf926cc8abba023297b0a40 (patch)
tree40eb8fa464e52b6c2b7aa5faa3c23e643fbbd6d4 /launcher/Version.h
parent730f714e973eadf76d2f834a9e062ce5bb44e41f (diff)
downloadPrismLauncher-9934537e19c7ce6f9bf926cc8abba023297b0a40.tar.gz
PrismLauncher-9934537e19c7ce6f9bf926cc8abba023297b0a40.tar.bz2
PrismLauncher-9934537e19c7ce6f9bf926cc8abba023297b0a40.zip
feat: add debug printing for Version
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/Version.h')
-rw-r--r--launcher/Version.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/launcher/Version.h b/launcher/Version.h
index aceb7a07..c0927374 100644
--- a/launcher/Version.h
+++ b/launcher/Version.h
@@ -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();
};
+
+