1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Merge branch 'pr845'

This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2014-11-25 19:58:38 +01:00
commit 034dbe0531
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -118,6 +118,11 @@ void Widget::update()
for (UpdateFileMeta fileMeta : diff)
if (!QFile::exists(updateDirStr+fileMeta.installpath))
fatalError(tr("The update is incomplete."));
if (diff.size() == 0){
fatalError(tr("The diff list is empty."));
}
setProgress(5);
/// 2. Check the update (5-50%)