Index: sources/storage/Settings.cpp =================================================================== diff -u -ra82ee4f326b26c4369f1306f867edc1bca6dabbe -ra04fd119778f0483cba5139a11e3c6bad7f2324a --- sources/storage/Settings.cpp (.../Settings.cpp) (revision a82ee4f326b26c4369f1306f867edc1bca6dabbe) +++ sources/storage/Settings.cpp (.../Settings.cpp) (revision a04fd119778f0483cba5139a11e3c6bad7f2324a) @@ -144,7 +144,6 @@ // << vKey // << vValue; QString mFileName = fileName(vCategory); - // qDebug() << " ~~~~~ " << mFileName; QString mContent; _Settings.add(vGroup, vKey, vValue,"", vCategory); QString mPath = QFileInfo(mFileName).absolutePath(); @@ -153,23 +152,18 @@ return 1; // TODO: define enum } - // qDebug() << " ~~~~~ " << mPath; if ( ! FileHandler::makeFolder(mPath) ) { LOG_DEBUG(QString("The settings path %1 can't be created.").arg(mPath)); return 2; // TODO: define enum } - qDebug() << " ~~~~~ " << _Settings.groups(vCategory); - for ( const auto &group : _Settings.groups(vCategory) ) { mContent += QString("[%1]\n").arg(group); for ( const auto &key : _Settings.keys(group) ) { mContent += QString("%1 = %2\n").arg(key).arg(_Settings.value(group, key).toString()); } } - qDebug() << mContent; - if ( ! FileHandler::write(mFileName,mContent, false) ) { LOG_DEBUG(QString("The settings file %1 can't be written.").arg(mFileName)); return 3; // TODO: define enum