mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 09:59:59 +03:00
Fix naming issue in instance model class.
This commit is contained in:
parent
076fb8a65e
commit
2d05e90196
2 changed files with 4 additions and 4 deletions
|
|
@ -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))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue