mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 14:17:13 -05:00
use qdesktopservices on qt5+pyqt4
This commit is contained in:
parent
de8adfecff
commit
8fecf53c3b
1 changed files with 1 additions and 1 deletions
|
|
@ -179,7 +179,7 @@ documentation for information on using a flash drive.""")
|
||||||
|
|
||||||
def _defaultBase(self):
|
def _defaultBase(self):
|
||||||
if isWin:
|
if isWin:
|
||||||
if qtmajor >= 5:
|
if False: #qtmajor >= 5:
|
||||||
loc = QStandardPaths.writeableLocation(QStandardPaths.DocumentsLocation)
|
loc = QStandardPaths.writeableLocation(QStandardPaths.DocumentsLocation)
|
||||||
else:
|
else:
|
||||||
loc = QDesktopServices.storageLocation(QDesktopServices.DocumentsLocation)
|
loc = QDesktopServices.storageLocation(QDesktopServices.DocumentsLocation)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue