mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
committed by
GitHub
parent
7a41192597
commit
0297f0f34b
@@ -345,6 +345,11 @@ bool Utils::Fs::isDir(const Path &path)
|
||||
return QFileInfo(path.data()).isDir();
|
||||
}
|
||||
|
||||
Path Utils::Fs::toAbsolutePath(const Path &path)
|
||||
{
|
||||
return Path(QFileInfo(path.data()).absoluteFilePath());
|
||||
}
|
||||
|
||||
Path Utils::Fs::toCanonicalPath(const Path &path)
|
||||
{
|
||||
return Path(QFileInfo(path.data()).canonicalFilePath());
|
||||
|
||||
Reference in New Issue
Block a user