From 6c83ad963776f282d2fde11f1ac21d9f3ef4aef0 Mon Sep 17 00:00:00 2001 From: Tim Jenssen Date: Wed, 22 May 2013 17:53:42 +0200 Subject: 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 --- src/libs/installer/lib7z_facade.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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") -- cgit v1.2.3