correction test MacVersion Qt5

preferencesAboutTextFull
Clément Fauconnier 6 years ago
parent efdab86928
commit 3e0594a4c3
  1. 2
      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;
}

Loading…
Cancel
Save