Ref T554, fixed auto publish path

This commit is contained in:
Klaus Basan
2019-06-02 01:25:37 +02:00
committed by Mat Sutcliffe
parent b1c65e8c00
commit 4eb43476d6

View File

@@ -285,7 +285,7 @@ namespace BlackMisc
const QDateTime deadline = QDateTime::currentDateTimeUtc().addDays(-30);
for (const QString &fn : fileList)
{
QFileInfo fi(fn);
const QFileInfo fi(fn.contains(dir.absolutePath()) ? fn : CFileUtils::appendFilePathsAndFixUnc(dir.absolutePath(), fn));
if (!fi.exists()) { continue; }
const QDateTime created = fi.created().toUTC();
if (deadline < created)