Remove the code after "return".

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-12-21 17:38:27 +02:00
parent 5c40a91335
commit 7551cfda87
2 changed files with 2 additions and 2 deletions

View file

@ -1006,7 +1006,7 @@ void DialogPatternXmlEdit::ElementClicked ( const QModelIndex & index )
} }
if (item2->GetelementType() == VXMLTreeElement::TypeRoot) if (item2->GetelementType() == VXMLTreeElement::TypeRoot)
{ {
ui->label_type_value->setText(tr("Root node"));; ui->label_type_value->setText(tr("Root node"));
ui->pushButton_Add_son->setEnabled(true); ui->pushButton_Add_son->setEnabled(true);
} }
else if (item2->GetelementType() == VXMLTreeElement::TypeNode) else if (item2->GetelementType() == VXMLTreeElement::TypeNode)

View file

@ -347,7 +347,7 @@ quint32 DialogPointOfContact::getCenter() const
*/ */
quint32 DialogPointOfContact::GetFirstPoint() const quint32 DialogPointOfContact::GetFirstPoint() const
{ {
return getCurrentObjectId(ui->comboBoxFirstPoint);; return getCurrentObjectId(ui->comboBoxFirstPoint);
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------