use qdesktopservices on qt5+pyqt4

This commit is contained in:
Damien Elmes 2014-03-06 09:03:52 +09:00
parent de8adfecff
commit 8fecf53c3b

View File

@ -179,7 +179,7 @@ documentation for information on using a flash drive.""")
def _defaultBase(self):
if isWin:
if qtmajor >= 5:
if False: #qtmajor >= 5:
loc = QStandardPaths.writeableLocation(QStandardPaths.DocumentsLocation)
else:
loc = QDesktopServices.storageLocation(QDesktopServices.DocumentsLocation)