Skip to content
Snippets Groups Projects
Commit 1e56ad2d authored by Mirko Wächter's avatar Mirko Wächter
Browse files

namespace fix...

parent b21dccdc
No related branches found
No related tags found
1 merge request!43Compile optimization
...@@ -33,7 +33,7 @@ armarx::StatechartEditorConfigDialog::StatechartEditorConfigDialog(StatechartPro ...@@ -33,7 +33,7 @@ armarx::StatechartEditorConfigDialog::StatechartEditorConfigDialog(StatechartPro
QPushButton* okButton = ui->buttonBox->button(QDialogButtonBox::Ok); QPushButton* okButton = ui->buttonBox->button(QDialogButtonBox::Ok);
okButton->setEnabled(false); okButton->setEnabled(false);
for (StatechartProfiles::StatechartProfilePtr p : profiles->getAllLeaves()) for (StatechartProfilePtr p : profiles->getAllLeaves())
{ {
QListWidgetItem* item = new QListWidgetItem(QString::fromUtf8(p->getName().data())); QListWidgetItem* item = new QListWidgetItem(QString::fromUtf8(p->getName().data()));
profileMap.insert(std::make_pair(item, p)); profileMap.insert(std::make_pair(item, p));
...@@ -49,13 +49,13 @@ armarx::StatechartEditorConfigDialog::~StatechartEditorConfigDialog() ...@@ -49,13 +49,13 @@ armarx::StatechartEditorConfigDialog::~StatechartEditorConfigDialog()
delete ui; delete ui;
} }
armarx::StatechartProfiles::StatechartProfilePtr armarx::StatechartEditorConfigDialog::getSelectedProfile() armarx::StatechartProfilePtr armarx::StatechartEditorConfigDialog::getSelectedProfile()
{ {
QList<QListWidgetItem*> selected = ui->listWidgetProfiles->selectedItems(); QList<QListWidgetItem*> selected = ui->listWidgetProfiles->selectedItems();
if (selected.size() == 0) if (selected.size() == 0)
{ {
return armarx::StatechartProfiles::StatechartProfilePtr(); return armarx::StatechartProfilePtr();
} }
else else
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment