210 return |
210 return |
211 |
211 |
212 self.__autoOpen = dlg.getAction() == "open" |
212 self.__autoOpen = dlg.getAction() == "open" |
213 if PYQT_VERSION_STR >= "5.0.0": |
213 if PYQT_VERSION_STR >= "5.0.0": |
214 from PyQt5.QtCore import QStandardPaths |
214 from PyQt5.QtCore import QStandardPaths |
215 tempLocation = QStandardPaths.storageLocation( |
215 tempLocation = QStandardPaths.storageLocations( |
216 QStandardPaths.TempLocation) |
216 QStandardPaths.TempLocation) |
217 else: |
217 else: |
218 from PyQt5.QtGui import QDesktopServices |
218 from PyQt5.QtGui import QDesktopServices |
219 tempLocation = QDesktopServices.storageLocation( |
219 tempLocation = QDesktopServices.storageLocation( |
220 QDesktopServices.TempLocation) |
220 QDesktopServices.TempLocation) |