aboutsummaryrefslogtreecommitdiff
path: root/libLumina/LuminaUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libLumina/LuminaUtils.cpp')
-rw-r--r--libLumina/LuminaUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libLumina/LuminaUtils.cpp b/libLumina/LuminaUtils.cpp
index 8a652e96..03b71cc9 100644
--- a/libLumina/LuminaUtils.cpp
+++ b/libLumina/LuminaUtils.cpp
@@ -58,7 +58,7 @@ bool LUtils::writeFile(QString filepath, QStringList contents, bool overwrite){
bool ok = false;
if(file.open( mode ) ){
QTextStream out(&file);
- for(int i=0; i<contents.length(); i++){ out << contents[i]; }
+ out << contents.join("\n");
file.close();
ok = true;
}
bgstack15