fix showing lgpl in the license prompt

the response is lowercased, so an uppercase L would never match.

amends c7c7cf636.

Change-Id: Idc796ec9a43bfd23452cd758100cbf1fb6fb252b
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Oswald Buddenhagen 2016-11-10 16:44:50 +01:00
parent 92805a0e9c
commit 468eeca88e

View File

@ -4514,7 +4514,7 @@ bool Configure::showLicense(QString orgLicenseFile)
return false;
} else {
if (dictionary["EDITION"] == "OpenSource") {
if (accept == 'L')
if (accept == 'l')
licenseFile = orgLicenseFile + "/LICENSE.LGPL3";
else
licenseFile = orgLicenseFile + "/LICENSE.GPL2";