forked from qt-creator/qt-creator
Fix coding style for else statements
Change-Id: I1309db70e98d678e150388c76ce665e988fdf081 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
c67f7f6349
commit
ad9e7ccab6
@@ -676,9 +676,9 @@ void Target::updateDefaultRunConfigurations()
|
||||
|
||||
// Make sure a configured RC is active:
|
||||
if (activeRunConfiguration() && !activeRunConfiguration()->isConfigured()) {
|
||||
if (!existingConfigured.isEmpty())
|
||||
if (!existingConfigured.isEmpty()) {
|
||||
setActiveRunConfiguration(existingConfigured.at(0));
|
||||
else if (!newConfigured.isEmpty()) {
|
||||
} else if (!newConfigured.isEmpty()) {
|
||||
RunConfiguration *selected = newConfigured.at(0);
|
||||
// Try to find a runconfiguration that matches the project name. That is a good
|
||||
// candidate for something to run initially.
|
||||
|
||||
Reference in New Issue
Block a user