mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-01 02:46:59 +03:00
Fix some bugs that surfaced
This commit is contained in:
parent
0a6399b52c
commit
4435016fae
2 changed files with 16 additions and 0 deletions
|
|
@ -37,6 +37,11 @@ InstanceList::InstanceList(const QString &instDir, QObject *parent)
|
|||
: QAbstractListModel(parent), m_instDir(instDir)
|
||||
{
|
||||
connect(MMC, &MultiMC::aboutToQuit, this, &InstanceList::saveGroupList);
|
||||
|
||||
if (!QDir::current().exists(m_instDir))
|
||||
{
|
||||
QDir::current().mkpath(m_instDir);
|
||||
}
|
||||
}
|
||||
|
||||
InstanceList::~InstanceList()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue