diff options
-rw-r--r-- | tdecore/kaboutdata.cpp | 4 | ||||
-rw-r--r-- | tdecore/kaboutdata.h | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/tdecore/kaboutdata.cpp b/tdecore/kaboutdata.cpp index 3aa9aa062..e92194721 100644 --- a/tdecore/kaboutdata.cpp +++ b/tdecore/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/tdecore/kaboutdata.h b/tdecore/kaboutdata.h index 617924cbc..c89a5f50b 100644 --- a/tdecore/kaboutdata.h +++ b/tdecore/kaboutdata.h @@ -232,7 +232,7 @@ class TDECORE_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 TDECORE_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 TDECORE_EXPORT KAboutData TQValueList<KAboutPerson> mAuthorList; TQValueList<KAboutPerson> mCreditList; const char *mLicenseText; + static const char *defaultBugTracker; KAboutDataPrivate *d; }; |