diff options
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; -} |