Some improvements

This commit is contained in:
QRouland committed 2025-03-12 15:34:33 +01:00
1 parent 884488b9ed
commit bdb2d58ac4
14 files changed
+117 -37

No files matched your search

+2 -2
View File
@@ -59,9 +59,9 @@ bool Utils::rmDir(QUrl dir_url)
bool Utils::fileExists(QUrl path)
{
QString p = path.toLocalFile();
QString p = path.toString();
auto ret = QFileInfo::exists(p) && QFileInfo(p).isFile();
qDebug() << "[Utils]" << path << " existing file :" << ret;
qDebug() << "[Utils]" << path << "existing file :" << ret;
return ret;
}