diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> | 2014-10-01 11:58:21 +0200 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> | 2014-10-02 05:59:01 +0200 |
commit | 08c523a9a86c8ad8202e938e9e740b5234b54331 (patch) | |
tree | 6203a1aa782ee64188a16ac2bf98a38f1535f896 /tools | |
parent | d44781730ccd4d48af79f480813bf3f9a4000253 (diff) |
Remove existence test for LICENSE.LGPL3
This license file has to exist, since much of the code is licensed under
LGPLv3.
Change-Id: I2795a7cc62f6de65a35921e38d2ab5f8f0233f71
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/configure/configureapp.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp index ef71097497..be692f98c2 100644 --- a/tools/configure/configureapp.cpp +++ b/tools/configure/configureapp.cpp @@ -4219,14 +4219,11 @@ bool Configure::showLicense(QString orgLicenseFile) return true; } - bool haveLgpl3 = false; QString licenseFile = orgLicenseFile; QString theLicense; if (dictionary["EDITION"] == "OpenSource" || dictionary["EDITION"] == "Snapshot") { - haveLgpl3 = QFile::exists(orgLicenseFile + "/LICENSE.LGPLv3"); - theLicense = "GNU Lesser General Public License (LGPL) version 2.1"; - if (haveLgpl3) - theLicense += "\nor the GNU Lesser General Public License (LGPL) version 3"; + theLicense = "GNU Lesser General Public License (LGPL) version 2.1" + "\nor the GNU Lesser General Public License (LGPL) version 3"; } else { // the first line of the license file tells us which license it is QFile file(licenseFile); @@ -4243,8 +4240,7 @@ bool Configure::showLicense(QString orgLicenseFile) << "the " << theLicense << "." << endl << endl; if (dictionary["EDITION"] == "OpenSource" || dictionary["EDITION"] == "Snapshot") { - if (haveLgpl3) - cout << "Type '3' to view the Lesser GNU General Public License version 3 (LGPLv3)." << endl; + cout << "Type '3' to view the Lesser GNU General Public License version 3 (LGPLv3)." << endl; cout << "Type 'L' to view the Lesser GNU General Public License version 2.1 (LGPLv2.1)." << endl; } else { cout << "Type '?' to view the " << theLicense << "." << endl; |