summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/instancemodel.cpp6
-rw-r--r--data/instancemodel.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/data/instancemodel.cpp b/data/instancemodel.cpp
index 4fbcebc2..fbdb8212 100644
--- a/data/instancemodel.cpp
+++ b/data/instancemodel.cpp
@@ -61,16 +61,16 @@ void InstanceGroup::addInstance ( InstanceBase* inst )
void InstanceModel::initialLoad(QString dir)
{
- groupFile = dir + "/instgroups.json";
+ groupFileName = dir + "/instgroups.json";
implicitGroup = new InstanceGroup("Ungrouped", this);
groups.append(implicitGroup);
// temporary map from instance ID to group name
QMap<QString, QString> groupMap;
- if (QFileInfo(groupFile).exists())
+ if (QFileInfo(groupFileName).exists())
{
- QFile groupFile(groupFile);
+ QFile groupFile(groupFileName);
if (!groupFile.open(QIODevice::ReadOnly))
{
diff --git a/data/instancemodel.h b/data/instancemodel.h
index 7b6cb8c6..4bd34831 100644
--- a/data/instancemodel.h
+++ b/data/instancemodel.h
@@ -129,7 +129,7 @@ signals:
public slots:
private:
- QString groupFile;
+ QString groupFileName;
QVector<InstanceGroup*> groups;
InstanceGroup * implicitGroup;
};