diff --git a/src/corelib/io/qstorageinfo_unix.cpp b/src/corelib/io/qstorageinfo_unix.cpp index e38f495213..bdb798e89a 100644 --- a/src/corelib/io/qstorageinfo_unix.cpp +++ b/src/corelib/io/qstorageinfo_unix.cpp @@ -327,7 +327,7 @@ inline QByteArray QStorageIterator::subvolume() const inline QStorageIterator::QStorageIterator() { - file.setFileName(_PATH_MOUNTED); + file.setFileName(QString::fromUtf8(_PATH_MOUNTED)); file.open(QIODevice::ReadOnly | QIODevice::Text); }