From 3e0594a4c30bbb72e788558c05aa4a7ad866e0f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fauconnier?= Date: Thu, 19 Jul 2018 16:03:05 +0200 Subject: [PATCH] correction test MacVersion Qt5 --- src/adaptors/UBExportAdaptor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adaptors/UBExportAdaptor.cpp b/src/adaptors/UBExportAdaptor.cpp index c4ac4896..63b745c2 100644 --- a/src/adaptors/UBExportAdaptor.cpp +++ b/src/adaptors/UBExportAdaptor.cpp @@ -67,7 +67,7 @@ QString UBExportAdaptor::askForFileName(UBDocumentProxy* pDocument, const QStrin bool useNativeDialog = true; #ifdef Q_OS_MAC - int versionMac = qMacVersion(); + int versionMac = QSysInfo::macVersion(); if (versionMac == QSysInfo::MV_Unknown || versionMac >= 11){ // version 11 is MacOSX 10.9 Mavericks useNativeDialog = false; }