From 76d6ec91a4a9b330e8df413f76b3d8189e0eec2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Tue, 24 Jul 2018 00:11:24 +0200 Subject: NOISSUE simplify. --- api/logic/BaseInstance.cpp | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'api/logic/BaseInstance.cpp') 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 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; -} -- cgit v1.2.3