mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-25 07:38:11 +00:00
Log folder live update when setting a new path in SDK
Fix forgotten suffix separator
This commit is contained in:
parent
eecd11a51b
commit
27e128d458
2 changed files with 2 additions and 2 deletions
|
|
@ -1177,7 +1177,7 @@ void SettingsModel::setLogsFolder (const QString &folder) {
|
|||
int count = 0;
|
||||
QString fileName = logsFiles[i].fileName();
|
||||
while( QFile::exists(folder+QDir::separator()+fileName))// assure unicity of backup files
|
||||
fileName = logsFiles[i].baseName()+"_"+QString::number(++count)+logsFiles[i].completeSuffix();
|
||||
fileName = logsFiles[i].baseName()+"_"+QString::number(++count)+"."+logsFiles[i].completeSuffix();
|
||||
if(QFile::copy(logsFiles[i].filePath(), folder+QDir::separator()+fileName))
|
||||
QFile::remove(logsFiles[i].filePath());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 730ea1dda0bf899895b6af849240adfeef9b6270
|
||||
Subproject commit 9c4c384586efd31e7430ef2dec599093cc141637
|
||||
Loading…
Add table
Reference in a new issue