Update misc classes

This commit is contained in:
Nick Tiskov
2013-11-10 23:24:09 +04:00
parent 6346716df6
commit a8e57d3a7e
4 changed files with 5 additions and 5 deletions

View File

@@ -60,8 +60,8 @@ private:
private:
static bool isNetworkFileSystem(QString path) {
QString file = path;
if (!file.endsWith(QDir::separator()))
file += QDir::separator();
if (!file.endsWith("/"))
file += "/";
file += ".";
struct statfs buf;
if (!statfs(file.toLocal8Bit().constData(), &buf)) {