Adjust Qt 5.8.1 check

There's never going to be a 5.8.1
This commit is contained in:
Florian Bruhin 2017-05-03 21:25:00 +02:00
parent a320aa5ef7
commit ebf3d208f6

View File

@ -147,7 +147,7 @@ def _get_suggested_filename(path):
"""
filename = os.path.basename(path)
filename = re.sub(r'\([0-9]+\)(?=\.|$)', '', filename)
if not qtutils.version_check('5.8.1'):
if not qtutils.version_check('5.9'):
# https://bugreports.qt.io/browse/QTBUG-58155
filename = urllib.parse.unquote(filename)
# Doing basename a *second* time because there could be a %2F in