Commit 92b34380 authored by Tobias Hunger's avatar Tobias Hunger

ToolChainManager: Use Qt5-style connects

Change-Id: I68bebe6f1554e48513f130537434a1f7e22a0197
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent 3f181280
......@@ -105,14 +105,11 @@ ToolChainManager::ToolChainManager(QObject *parent) :
d = new ToolChainManagerPrivate;
connect(Core::ICore::instance(), SIGNAL(saveSettingsRequested()),
this, SLOT(saveToolChains()));
connect(this, SIGNAL(toolChainAdded(ProjectExplorer::ToolChain*)),
this, SIGNAL(toolChainsChanged()));
connect(this, SIGNAL(toolChainRemoved(ProjectExplorer::ToolChain*)),
this, SIGNAL(toolChainsChanged()));
connect(this, SIGNAL(toolChainUpdated(ProjectExplorer::ToolChain*)),
this, SIGNAL(toolChainsChanged()));
connect(Core::ICore::instance(), &Core::ICore::saveSettingsRequested,
this, &ToolChainManager::saveToolChains);
connect(this, &ToolChainManager::toolChainAdded, this, &ToolChainManager::toolChainsChanged);
connect(this, &ToolChainManager::toolChainRemoved, this, &ToolChainManager::toolChainsChanged);
connect(this, &ToolChainManager::toolChainUpdated, this, &ToolChainManager::toolChainsChanged);
}
ToolChainManager::~ToolChainManager()
......
......@@ -68,7 +68,6 @@ public:
static bool registerToolChain(ToolChain *tc);
static void deregisterToolChain(ToolChain *tc);
public slots:
void saveToolChains();
signals:
......
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