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.
|
||||
# This is in order for this to work without a QApplication (and thus
|
||||
# QStandardsPaths not knowing the application name), as well as a
|
||||
# workaround for https://bugreports.qt.io/browse/QTBUG-38872
|
||||
# QStandardsPaths not knowing the application name).
|
||||
if (typ != QStandardPaths.DownloadLocation and
|
||||
path.split(os.sep)[-1] != APPNAME):
|
||||
path = os.path.join(path, APPNAME)
|
||||
|
Loading…
Reference in New Issue
Block a user