mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 05:15:40 +03:00
Crash hotfix, need to dig down actual cause
This commit is contained in:
parent
a07d2cddd2
commit
f5bbb12434
1 changed files with 7 additions and 0 deletions
|
@ -503,6 +503,13 @@ void AccountSettings::slotSetProgress( const QString& folder, Progress::Info pro
|
|||
return;
|
||||
}
|
||||
|
||||
// Hotfix for a crash that I experienced in a very rare case/setup
|
||||
if (progress.kind == Mirall::Progress::Invalid) {
|
||||
qDebug() << "================================> INVALID Progress for folder " << folder;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
QString itemFileName = shortenFilename(folder, progress.current_file);
|
||||
QString syncFileProgressString;
|
||||
|
||||
|
|
Loading…
Reference in a new issue