Update default bug tracker link so as not to break tdebindings

pull/16/head
Timothy Pearson 13 years ago
parent 963db9b53f
commit 2fae13c658

@ -96,7 +96,7 @@ public:
const char *mTranslatedProgramName; const char *mTranslatedProgramName;
}; };
static const char *KAboutData::defaultBugTracker = "http://bugs.trinitydesktop.org";
KAboutData::KAboutData( const char *appName, KAboutData::KAboutData( const char *appName,
const char *programName, const char *programName,
@ -115,7 +115,7 @@ KAboutData::KAboutData( const char *appName,
mCopyrightStatement( copyrightStatement ), mCopyrightStatement( copyrightStatement ),
mOtherText( text ), mOtherText( text ),
mHomepageAddress( homePageAddress ), mHomepageAddress( homePageAddress ),
mBugEmailAddress( bugsEmailAddress ), mBugEmailAddress( (bugsEmailAddress!=0)?bugsEmailAddress:&defaultBugTracker ),
mLicenseText (0) mLicenseText (0)
{ {
d = new KAboutDataPrivate; d = new KAboutDataPrivate;

@ -232,7 +232,7 @@ class TDECORE_EXPORT KAboutData
* is correct, "some.domain" is not. * is correct, "some.domain" is not.
* *
* @param bugsEmailAddress The bug report email address string. * @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, KAboutData( const char *appName,
@ -243,7 +243,7 @@ class TDECORE_EXPORT KAboutData
const char *copyrightStatement = 0, const char *copyrightStatement = 0,
const char *text = 0, const char *text = 0,
const char *homePageAddress = 0, const char *homePageAddress = 0,
const char *bugsEmailAddress = "http://bugs.trinitydesktop.org" const char *bugsEmailAddress = 0
); );
~KAboutData(); ~KAboutData();
@ -621,6 +621,7 @@ class TDECORE_EXPORT KAboutData
TQValueList<KAboutPerson> mAuthorList; TQValueList<KAboutPerson> mAuthorList;
TQValueList<KAboutPerson> mCreditList; TQValueList<KAboutPerson> mCreditList;
const char *mLicenseText; const char *mLicenseText;
static const char *defaultBugTracker;
KAboutDataPrivate *d; KAboutDataPrivate *d;
}; };

Loading…
Cancel
Save