mirror of
https://github.com/QRouland/UTPass.git
synced 2026-10-13 16:20:03 +00:00
Some improvements
This commit is contained in:
1 parent
884488b9ed
commit
bdb2d58ac4
14 files changed
+117
-37
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user