diff options
author | Timothy Pearson <[email protected]> | 2012-02-10 12:37:12 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-02-10 12:37:12 -0600 |
commit | 2fae13c658f091a44d1f5a61fd35fc8957135410 (patch) | |
tree | 22274961dbea7f16214ff78f6bc730754a404ef1 | |
parent | 963db9b53f8871b9b07d6538ea98cf4267e4dc1f (diff) | |
download | tdelibs-2fae13c658f091a44d1f5a61fd35fc8957135410.tar.gz tdelibs-2fae13c658f091a44d1f5a61fd35fc8957135410.zip |
Update default bug tracker link so as not to break tdebindings
-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; }; |