diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-12-29 00:37:14 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-12-29 00:37:14 +0100 |
commit | 719f3e863a2bdbaeaba37e837e0f6b75de124e6c (patch) | |
tree | bff005dd7e36b08d355bfec58742d44265fc0dd6 /api/logic/meta/Version.cpp | |
parent | 50ca6cbb4daaa4acd300defc6b7ecc7ccb46cebf (diff) | |
download | PrismLauncher-719f3e863a2bdbaeaba37e837e0f6b75de124e6c.tar.gz PrismLauncher-719f3e863a2bdbaeaba37e837e0f6b75de124e6c.tar.bz2 PrismLauncher-719f3e863a2bdbaeaba37e837e0f6b75de124e6c.zip |
NOISSUE add versioning to component metadata format and use it
Diffstat (limited to 'api/logic/meta/Version.cpp')
-rw-r--r-- | api/logic/meta/Version.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/api/logic/meta/Version.cpp b/api/logic/meta/Version.cpp index 55b92966..c9056547 100644 --- a/api/logic/meta/Version.cpp +++ b/api/logic/meta/Version.cpp @@ -79,10 +79,6 @@ void Meta::Version::mergeFromList(const Meta::VersionPtr& other) { m_conflicts = other->m_conflicts; } - if (m_parentUid != other->m_parentUid) - { - setParentUid(other->m_parentUid); - } if(m_volatile != other->m_volatile) { setVolatile(other->m_volatile); @@ -103,12 +99,6 @@ QString Meta::Version::localFilename() const return m_uid + '/' + m_version + ".json"; } -void Meta::Version::setParentUid(const QString& parentUid) -{ - m_parentUid = parentUid; - emit requiresChanged(); -} - void Meta::Version::setType(const QString &type) { m_type = type; |