mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
Ref T554, fixed auto publish path
This commit is contained in:
committed by
Mat Sutcliffe
parent
b1c65e8c00
commit
4eb43476d6
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user