diff options
author | Forkk <forkk@forkk.net> | 2014-01-07 18:31:31 -0600 |
---|---|---|
committer | Forkk <forkk@forkk.net> | 2014-01-07 18:31:31 -0600 |
commit | a14eeab2d6f6437f0cbd7402537ef6634085f7ac (patch) | |
tree | 266d5dae5592fad310c79475c569a30ff86a39a9 /MultiMCVersion.h | |
parent | 3202b972f8dac05d4464eb46724b1bd703b9b21d (diff) | |
download | MultiMC-a14eeab2d6f6437f0cbd7402537ef6634085f7ac.tar MultiMC-a14eeab2d6f6437f0cbd7402537ef6634085f7ac.tar.gz MultiMC-a14eeab2d6f6437f0cbd7402537ef6634085f7ac.tar.lz MultiMC-a14eeab2d6f6437f0cbd7402537ef6634085f7ac.tar.xz MultiMC-a14eeab2d6f6437f0cbd7402537ef6634085f7ac.zip |
Add information to the about dialog.
Diffstat (limited to 'MultiMCVersion.h')
-rw-r--r-- | MultiMCVersion.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/MultiMCVersion.h b/MultiMCVersion.h index e205bec6..811b9076 100644 --- a/MultiMCVersion.h +++ b/MultiMCVersion.h @@ -56,6 +56,22 @@ struct MultiMCVersion return vstr; } + QString typeName() const + { + switch (type) + { + case Release: + return "Stable Release"; + case ReleaseCandidate: + return "Release Candidate"; + case Development: + return "Development"; + case Custom: + default: + return "Custom"; + } + } + //! The major version number. int major; |