improved mac check on askforfilename

preferencesAboutTextFull
Clément Fauconnier 6 years ago
parent 568b95594d
commit 40a9bdc089
  1. 2
      src/adaptors/UBExportAdaptor.cpp

@ -68,7 +68,7 @@ QString UBExportAdaptor::askForFileName(UBDocumentProxy* pDocument, const QStrin
bool useNativeDialog = true; bool useNativeDialog = true;
#ifdef Q_OS_MAC #ifdef Q_OS_MAC
int versionMac = QSysInfo::macVersion(); int versionMac = QSysInfo::macVersion();
if (versionMac == QSysInfo::MV_Unknown || versionMac >= 11){ // version 11 is MacOSX 10.9 Mavericks if (versionMac == QSysInfo::MV_Unknown || versionMac >= QSysInfo::MV_MAVERICKS){ // version 11 is MacOSX 10.9 Mavericks
useNativeDialog = false; useNativeDialog = false;
} }
#endif #endif

Loading…
Cancel
Save