summaryrefslogtreecommitdiffstats
path: root/tdecore
diff options
context:
space:
mode:
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: