1
0
mirror of https://github.com/QRouland/UTPass.git synced 2025-06-24 22:42:28 +00:00

Some improvements

This commit is contained in:
2025-03-12 15:34:33 +01:00
parent 884488b9ed
commit bdb2d58ac4
14 changed files with 117 additions and 37 deletions

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;
}