Adjust workaround comment

This commit is contained in:
Florian Bruhin 2018-10-10 08:03:51 +02:00
parent 69d2433584
commit 64b308ebeb

View File

@ -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)