diff options
Diffstat (limited to 'src/corelib/io/qdir.cpp')
-rw-r--r-- | src/corelib/io/qdir.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qdir.cpp b/src/corelib/io/qdir.cpp index 222192b11c..572295db0d 100644 --- a/src/corelib/io/qdir.cpp +++ b/src/corelib/io/qdir.cpp @@ -73,10 +73,10 @@ static QString driveSpec(const QString &path) #if defined(Q_OS_WIN) if (path.size() < 2) return QString(); - char c = path.at(0).toAscii(); + char c = path.at(0).toLatin1(); if (c < 'a' && c > 'z' && c < 'A' && c > 'Z') return QString(); - if (path.at(1).toAscii() != ':') + if (path.at(1).toLatin1() != ':') return QString(); return path.mid(0, 2); #else |