Adjust workaround comment
This commit is contained in:
parent
69d2433584
commit
64b308ebeb
@ -240,8 +240,7 @@ def _writable_location(typ):
|
|||||||
|
|
||||||
# Add the application name to the given path if needed.
|
# Add the application name to the given path if needed.
|
||||||
# This is in order for this to work without a QApplication (and thus
|
# This is in order for this to work without a QApplication (and thus
|
||||||
# QStandardsPaths not knowing the application name), as well as a
|
# QStandardsPaths not knowing the application name).
|
||||||
# workaround for https://bugreports.qt.io/browse/QTBUG-38872
|
|
||||||
if (typ != QStandardPaths.DownloadLocation and
|
if (typ != QStandardPaths.DownloadLocation and
|
||||||
path.split(os.sep)[-1] != APPNAME):
|
path.split(os.sep)[-1] != APPNAME):
|
||||||
path = os.path.join(path, APPNAME)
|
path = os.path.join(path, APPNAME)
|
||||||
|
Loading…
Reference in New Issue
Block a user