--- a/QTfrontend/util/FileEngine.cpp Sat Nov 03 00:34:35 2012 +0400
+++ b/QTfrontend/util/FileEngine.cpp Sun Nov 04 23:56:27 2012 +0400
@@ -167,10 +167,12 @@
_filename = file.mid(FileEngineHandler::scheme.size());
else
_filename = file;
+
PHYSFS_Stat stat;
if (PHYSFS_stat(_filename.toUtf8().constData(), &stat) != 0) {
_size = stat.filesize;
_datetime = QDateTime::fromTime_t(stat.modtime);
+ _flags |= QAbstractFileEngine::ReadUserPerm;
_flags |= QAbstractFileEngine::ExistsFlag;
switch (stat.filetype)