NOISSUE fix build on linux?

This commit is contained in:
Petr Mrázek 2018-08-02 01:12:41 +02:00
parent 5f2d3f014a
commit a279df8bda

View File

@ -26,7 +26,8 @@ void FtbPrivatePackManager::save() const
}
try
{
FS::write(m_filename, currentPacks.toList().join('\n').toUtf8());
QStringList list = currentPacks.toList();
FS::write(m_filename, list.join('\n').toUtf8());
dirty = false;
}
catch(...)