summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-10 12:37:12 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-07-03 02:57:06 +0200
commitf0151e7097d04518eb8b78e3f8f44206942a1895 (patch)
treed251741d89393fa173c0d5809d29892177205140
parent638a47b531b7c4c4cbcb271ec63bb1177df9486d (diff)
downloadtdelibs-f0151e7097d04518eb8b78e3f8f44206942a1895.tar.gz
tdelibs-f0151e7097d04518eb8b78e3f8f44206942a1895.zip
Update default bug tracker link so as not to break tdebindings
(cherry picked from commit 2fae13c658f091a44d1f5a61fd35fc8957135410)
-rw-r--r--kdecore/kaboutdata.cpp4
-rw-r--r--kdecore/kaboutdata.h5
2 files changed, 5 insertions, 4 deletions
diff --git a/kdecore/kaboutdata.cpp b/kdecore/kaboutdata.cpp
index 3aa9aa062..e92194721 100644
--- a/kdecore/kaboutdata.cpp
+++ b/kdecore/kaboutdata.cpp
@@ -96,7 +96,7 @@ public:
const char *mTranslatedProgramName;
};
-
+static const char *KAboutData::defaultBugTracker = "http://bugs.trinitydesktop.org";
KAboutData::KAboutData( const char *appName,
const char *programName,
@@ -115,7 +115,7 @@ KAboutData::KAboutData( const char *appName,
mCopyrightStatement( copyrightStatement ),
mOtherText( text ),
mHomepageAddress( homePageAddress ),
- mBugEmailAddress( bugsEmailAddress ),
+ mBugEmailAddress( (bugsEmailAddress!=0)?bugsEmailAddress:&defaultBugTracker ),
mLicenseText (0)
{
d = new KAboutDataPrivate;
diff --git a/kdecore/kaboutdata.h b/kdecore/kaboutdata.h
index efb2b41e4..86bfb8c51 100644
--- a/kdecore/kaboutdata.h
+++ b/kdecore/kaboutdata.h
@@ -232,7 +232,7 @@ class KDECORE_EXPORT KAboutData
* is correct, "some.domain" is not.
*
* @param bugsEmailAddress The bug report email address string.
- * This defaults to the kde.org bug system.
+ * This defaults to the trinitydesktop.org bug system.
*
*/
KAboutData( const char *appName,
@@ -243,7 +243,7 @@ class KDECORE_EXPORT KAboutData
const char *copyrightStatement = 0,
const char *text = 0,
const char *homePageAddress = 0,
- const char *bugsEmailAddress = "http://bugs.trinitydesktop.org"
+ const char *bugsEmailAddress = 0
);
~KAboutData();
@@ -621,6 +621,7 @@ class KDECORE_EXPORT KAboutData
TQValueList<KAboutPerson> mAuthorList;
TQValueList<KAboutPerson> mCreditList;
const char *mLicenseText;
+ static const char *defaultBugTracker;
KAboutDataPrivate *d;
};