forked from qt-creator/qt-creator
AutoTest: Re-order responsibilities
Keep the timer for syncing frameworks where it is really used, do not create functions that are not necessary at all. Change-Id: Ie0a49a2611dc67510b72562455ea2a1af7b1c538 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -56,14 +56,12 @@ void TestProjectSettings::setUseGlobalSettings(bool useGlobal)
|
||||
if (m_useGlobalSettings == useGlobal)
|
||||
return;
|
||||
m_useGlobalSettings = useGlobal;
|
||||
TestTreeModel::instance()->scheduleTestFrameworksSync(false);
|
||||
}
|
||||
|
||||
void TestProjectSettings::activateFramework(const Core::Id &id, bool activate)
|
||||
{
|
||||
if (m_activeTestFrameworks.value(id) != activate) {
|
||||
m_activeTestFrameworks[id] = activate;
|
||||
TestTreeModel::instance()->scheduleTestFrameworksSync(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user