summaryrefslogtreecommitdiffstats
path: root/data/instancemodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'data/instancemodel.cpp')
-rw-r--r--data/instancemodel.cpp6
1 files changed, 3 insertions, 3 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))
{