From a279df8bdaee22ca04073a193294fd0e6dd2a313 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 2 Aug 2018 01:12:41 +0200 Subject: NOISSUE fix build on linux? --- api/logic/modplatform/ftb/FtbPrivatePackManager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(...) -- cgit v1.2.3