Commit e2760349 authored by El Mehdi Fekari's avatar El Mehdi Fekari Committed by Mehdi Fekari
Browse files

Qnx: Do not activate any API level if none is selected



The code was introducted before the "default configuration"
was implemented.

If the user deactivates all the BlackBerry Api levels, and restarts
Qt Creator, BlackBerry kits will get generated again, unless all
the API levels are completely uninstalled.

Change-Id: Ie5525d3c08009fb3df986802cd25da24c290098b
Reviewed-by: default avatarDavid Kaspar <dkaspar@blackberry.com>
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 7872981d
......@@ -457,11 +457,6 @@ void BlackBerryConfigurationManager::loadSettings()
loadAutoDetectedRuntimes();
checkToolChainConfiguration();
// If no target was/is activated, activate one since it's needed by
// device connection and CSK code.
if (activeApiLevels().isEmpty() && !m_apiLevels.isEmpty())
m_apiLevels.first()->activate();
emit settingsLoaded();
emit settingsChanged();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment