summaryrefslogtreecommitdiffstats
path: root/tdecore
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-03-26 20:00:44 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-03-26 20:27:16 +0900
commit548bb65da4ba2cfbad69e09091b7e2bf61a9dec3 (patch)
tree8cc49b69a1507298eec50d05ba6bb4b05e4486e2 /tdecore
parent15210b6100ab2d5b0b7697491f635f51c7205e77 (diff)
downloadtdelibs-548bb65da4ba2cfbad69e09091b7e2bf61a9dec3.tar.gz
tdelibs-548bb65da4ba2cfbad69e09091b7e2bf61a9dec3.zip
Add MIT license
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdecore')
-rw-r--r--tdecore/tdeaboutdata.cpp4
-rw-r--r--tdecore/tdeaboutdata.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/tdecore/tdeaboutdata.cpp b/tdecore/tdeaboutdata.cpp
index 3a147842a..48f41645d 100644
--- a/tdecore/tdeaboutdata.cpp
+++ b/tdecore/tdeaboutdata.cpp
@@ -446,6 +446,10 @@ TDEAboutData::license() const
l = "QPL v1.0";
f = locate("data", "LICENSES/QPL_V1.0");
break;
+ case License_MIT:
+ l = "MIT";
+ f = locate("data", "LICENSES/MIT");
+ break;
case License_Custom:
if (mLicenseText && *mLicenseText)
return( i18n(mLicenseText) );
diff --git a/tdecore/tdeaboutdata.h b/tdecore/tdeaboutdata.h
index 06f193f75..071da368b 100644
--- a/tdecore/tdeaboutdata.h
+++ b/tdecore/tdeaboutdata.h
@@ -199,7 +199,8 @@ class TDECORE_EXPORT TDEAboutData
License_QPL = 5,
License_QPL_V1_0 = 5,
License_GPL_V3 = 6,
- License_LGPL_V3 = 7
+ License_LGPL_V3 = 7,
+ License_MIT = 8
};
public: