Commit 3e0594a4 authored by Clément Fauconnier's avatar Clément Fauconnier

correction test MacVersion Qt5

parent efdab869
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment