fixed DL output path in DL list

This commit is contained in:
csoler 2023-07-01 18:06:12 +02:00
parent fe8c81e84a
commit d95518d17e

View File

@ -442,7 +442,7 @@ public:
{ {
QString strPath = QString::fromUtf8(fileInfo.path.c_str()); QString strPath = QString::fromUtf8(fileInfo.path.c_str());
QString strPathAfterDL = strPath; QString strPathAfterDL = strPath;
strPathAfterDL.replace(QString::fromUtf8(rsFiles->getDownloadDirectory().c_str()),""); strPathAfterDL.replace(QString::fromUtf8(rsFiles->getDownloadDirectory().c_str()),"[Download Dir]");
return QVariant(strPathAfterDL); return QVariant(strPathAfterDL);
} }