Change Utils::Fs::freeDiskSpaceOnPath() signature

refactor the function internals
This commit is contained in:
Chocobo1
2016-12-08 01:14:55 +08:00
committed by sledgehammer999
parent b05a23e1ab
commit fdc70eaa62
2 changed files with 28 additions and 35 deletions

View File

@@ -50,7 +50,7 @@ namespace Utils
bool sameFiles(const QString& path1, const QString& path2);
QString toValidFileSystemName(const QString &name, bool allowSeparators = false);
bool isValidFileSystemName(const QString& name, bool allowSeparators = false);
qlonglong freeDiskSpaceOnPath(QString path);
qulonglong freeDiskSpaceOnPath(const QString &path);
QString branchPath(const QString& file_path, QString* removed = 0);
bool sameFileNames(const QString& first, const QString& second);
QString expandPath(const QString& path);