From a59d0892a241cc648d6899d4cb1c14cb66bc3ca2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 21 Sep 2015 03:42:24 -0500 Subject: Add GPL v3 license to TDEAboutData options (cherry picked from commit 85c0e479c1d997b4127748ee6a2c749378940046) --- kdecore/kaboutdata.cpp | 8 ++++++++ kdecore/kaboutdata.h | 2 ++ 2 files changed, 10 insertions(+) (limited to 'kdecore') diff --git a/kdecore/kaboutdata.cpp b/kdecore/kaboutdata.cpp index d408fbfc3..72df1b464 100644 --- a/kdecore/kaboutdata.cpp +++ b/kdecore/kaboutdata.cpp @@ -424,6 +424,14 @@ KAboutData::license() const l = "LGPL v2"; f = locate("data", "LICENSES/LGPL_V2"); break; + case License_GPL_V3: + l = "GPL v3"; + f = locate("data", "LICENSES/GPL_V3"); + break; + case License_LGPL_V3: + l = "LGPL v3"; + f = locate("data", "LICENSES/LGPL_V3"); + break; case License_BSD: l = "BSD License"; f = locate("data", "LICENSES/BSD"); diff --git a/kdecore/kaboutdata.h b/kdecore/kaboutdata.h index 00f247578..94b665c9d 100644 --- a/kdecore/kaboutdata.h +++ b/kdecore/kaboutdata.h @@ -198,6 +198,8 @@ class KDECORE_EXPORT KAboutData License_Artistic = 4, License_QPL = 5, License_QPL_V1_0 = 5 + License_GPL_V3 = 6, + License_LGPL_V3 = 6, }; public: -- cgit v1.2.1