summaryrefslogtreecommitdiffstats
path: root/api/logic/BaseInstance.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2018-07-24 00:11:24 +0200
committerPetr Mrázek <peterix@gmail.com>2018-07-28 22:12:57 +0200
commit76d6ec91a4a9b330e8df413f76b3d8189e0eec2f (patch)
tree80ddc5d403f830ab68750b0042b5aa36d366eb8a /api/logic/BaseInstance.cpp
parent7b439c85c0bf3583ac8970e7ab9e8db3bd65c968 (diff)
downloadMultiMC-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.cpp16
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;
-}