summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@digia.com>2013-05-22 17:53:42 +0200
committerTim Jenssen <tim.jenssen@digia.com>2013-05-22 18:13:50 +0200
commit6c83ad963776f282d2fde11f1ac21d9f3ef4aef0 (patch)
treeee4d7ff27bbf3dc71915ca9f7c3586524404d1dd
parent37e436add7b49701d95ce14e5ee96404e166ada5 (diff)
disable getFileTimeFromProperty on Unix systems
- it is not working correctly at the moment and will be fixed later Change-Id: I0527410f09fbdff33e6851558482bf329ba80de6 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
-rw-r--r--src/libs/installer/lib7z_facade.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libs/installer/lib7z_facade.cpp b/src/libs/installer/lib7z_facade.cpp
index 5459cd22b..607d774ac 100644
--- a/src/libs/installer/lib7z_facade.cpp
+++ b/src/libs/installer/lib7z_facade.cpp
@@ -257,6 +257,10 @@ static bool IsDST(const QDateTime& datetime = QDateTime())
static bool getFileTimeFromProperty(IInArchive* archive, int index, int propId, FILETIME *fileTime)
{
+// TODO: fix getFileTimeFromProperty under unix systems, till then just ignore the property
+#ifndef Q_OS_WIN
+ return false;
+#endif
const NCOM::CPropVariant prop = readProperty(archive, index, propId);
if (prop.vt != VT_FILETIME) {
throw SevenZipException(QObject::tr("Property %1 for item %2 not of type VT_FILETIME but %3")