Skip to content

Commit

Permalink
fix showing lgpl in the license prompt
Browse files Browse the repository at this point in the history
the response is lowercased, so an uppercase L would never match.

amends c7c7cf6.

Change-Id: Idc796ec9a43bfd23452cd758100cbf1fb6fb252b
Reviewed-by: Kai Koehne <[email protected]>
Reviewed-by: Joerg Bornemann <[email protected]>
  • Loading branch information
ossilator committed Nov 14, 2016
1 parent 92805a0 commit 468eeca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/configure/configureapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 468eeca

Please sign in to comment.