summaryrefslogtreecommitdiffstats
path: root/api/logic
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2018-08-02 01:12:41 +0200
committerPetr Mrázek <peterix@gmail.com>2018-08-02 01:12:41 +0200
commita279df8bdaee22ca04073a193294fd0e6dd2a313 (patch)
tree93fcc7f54fae52bc00b5130ca6eb3556eecc8184 /api/logic
parent5f2d3f014a255f35fd12e86c73c8152430851baf (diff)
downloadMultiMC-a279df8bdaee22ca04073a193294fd0e6dd2a313.tar
MultiMC-a279df8bdaee22ca04073a193294fd0e6dd2a313.tar.gz
MultiMC-a279df8bdaee22ca04073a193294fd0e6dd2a313.tar.lz
MultiMC-a279df8bdaee22ca04073a193294fd0e6dd2a313.tar.xz
MultiMC-a279df8bdaee22ca04073a193294fd0e6dd2a313.zip
NOISSUE fix build on linux?
Diffstat (limited to 'api/logic')
-rw-r--r--api/logic/modplatform/ftb/FtbPrivatePackManager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/logic/modplatform/ftb/FtbPrivatePackManager.cpp b/api/logic/modplatform/ftb/FtbPrivatePackManager.cpp
index 15449592..c3477cec 100644
--- a/api/logic/modplatform/ftb/FtbPrivatePackManager.cpp
+++ b/api/logic/modplatform/ftb/FtbPrivatePackManager.cpp
@@ -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(...)