diff options
author | Petr Mrázek <peterix@gmail.com> | 2018-07-24 00:11:24 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2018-07-28 22:12:57 +0200 |
commit | 76d6ec91a4a9b330e8df413f76b3d8189e0eec2f (patch) | |
tree | 80ddc5d403f830ab68750b0042b5aa36d366eb8a /api/logic/BaseInstance.cpp | |
parent | 7b439c85c0bf3583ac8970e7ab9e8db3bd65c968 (diff) | |
download | MultiMC-76d6ec91a4a9b330e8df413f76b3d8189e0eec2f.tar MultiMC-76d6ec91a4a9b330e8df413f76b3d8189e0eec2f.tar.gz MultiMC-76d6ec91a4a9b330e8df413f76b3d8189e0eec2f.tar.lz MultiMC-76d6ec91a4a9b330e8df413f76b3d8189e0eec2f.tar.xz MultiMC-76d6ec91a4a9b330e8df413f76b3d8189e0eec2f.zip |
NOISSUE simplify.
Diffstat (limited to 'api/logic/BaseInstance.cpp')
-rw-r--r-- | api/logic/BaseInstance.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/api/logic/BaseInstance.cpp b/api/logic/BaseInstance.cpp index f07b2bd0..3a4d84be 100644 --- a/api/logic/BaseInstance.cpp +++ b/api/logic/BaseInstance.cpp @@ -284,19 +284,3 @@ std::shared_ptr<LaunchTask> BaseInstance::getLaunchTask() { return m_launchProcess; } - -void BaseInstance::setProvider(BaseInstanceProvider* provider) -{ - // only once. - assert(!m_provider); - if(m_provider) - { - qWarning() << "Provider set more than once for instance" << id(); - } - m_provider = provider; -} - -BaseInstanceProvider* BaseInstance::provider() const -{ - return m_provider; -} |