Commit 1b428d3d authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Coding style fixes

parent 3067f441
......@@ -88,7 +88,7 @@ int EnvironmentModel::columnCount(const QModelIndex &parent) const
bool EnvironmentModel::changes(const QString &name) const
{
foreach (const EnvironmentItem& item, m_items)
foreach (const EnvironmentItem &item, m_items)
if (item.name == name)
return true;
return false;
......@@ -451,7 +451,7 @@ EnvironmentWidget::~EnvironmentWidget()
m_model = 0;
}
void EnvironmentWidget::renamedVariable(const QString& name)
void EnvironmentWidget::renamedVariable(const QString &name)
{
QModelIndex idx = m_model->index(name);
m_environmentTreeView->setCurrentIndex(idx);
......
......@@ -64,7 +64,7 @@ public:
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;
QModelIndex parent(const QModelIndex &index) const;
QModelIndex addVariable();
QModelIndex addVariable(const EnvironmentItem& item);
QModelIndex addVariable(const EnvironmentItem &item);
void removeVariable(const QString &name);
void unset(const QString &name);
bool isUnset(const QString &name);
......
Supports Markdown
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