summaryrefslogtreecommitdiffstats
path: root/kdecore
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore')
-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;
};