- display existing files in green and in red non-existing files but in downloaded list
This commit is contained in:
parent
6c19dccf2e
commit
38c25450ed
@ -712,7 +712,7 @@ void MainWindow::addTreeItem(QString name, QString fileSize, QString fullsize, Q
|
||||
// item is a file
|
||||
if (QFile::exists(this->downloading.savePath + "/" + name))
|
||||
{
|
||||
QBrush b (Qt::red);
|
||||
QBrush b (Qt::green);
|
||||
treeItem->setForeground(0, b);
|
||||
treeItem->setFont(0, *font);
|
||||
}else
|
||||
|
Loading…
Reference in New Issue
Block a user