diff options
Diffstat (limited to 'kbugbuster/backend/bugserver.cpp')
-rw-r--r-- | kbugbuster/backend/bugserver.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/kbugbuster/backend/bugserver.cpp b/kbugbuster/backend/bugserver.cpp index 6c8aa6fb..1ad90567 100644 --- a/kbugbuster/backend/bugserver.cpp +++ b/kbugbuster/backend/bugserver.cpp @@ -54,7 +54,8 @@ void BugServer::init() TQString bugzilla = mServerConfig.bugzillaVersion(); - if ( bugzilla == "KDE" ) mProcessor = new DomProcessor( this ); + if ( bugzilla == "TDE" ) mProcessor = new DomProcessor( this ); + else if ( bugzilla == "KDE" ) mProcessor = new DomProcessor( this ); else if ( bugzilla == "2.10" ) mProcessor = new HtmlParser_2_10( this ); else if ( bugzilla == "2.14.2" ) mProcessor = new HtmlParser_2_14_2( this ); else if ( bugzilla == "2.17.1" ) mProcessor = new HtmlParser_2_17_1( this ); @@ -231,8 +232,8 @@ void BugServer::sendCommands( MailSender *mailer, const TQString &senderName, const TQString &senderEmail, bool sendBCC, const TQString &recipient ) { - // Disable mail commands for non-KDE servers - if ( mServerConfig.baseUrl() != KURL( "http://bugs.kde.org" ) ) return; + // Disable mail commands for non-TDE servers + if ( mServerConfig.baseUrl() != KURL( "http://bugs.trinitydesktop.org" ) ) return; TQString controlText; @@ -249,7 +250,7 @@ void BugServer::sendCommands( MailSender *mailer, const TQString &senderName, if (!cmd->package().isNull()) pkg = cmd->package(); if (!cmd->controlString().isNull()) { - kdDebug() << "control@bugs.kde.org: " << cmd->controlString() << endl; + kdDebug() << "control@bugs.trinitydesktop.org: " << cmd->controlString() << endl; controlText += cmd->controlString() + "\n"; } else { kdDebug() << cmd->mailAddress() << ": " << cmd->mailText() << endl; @@ -283,9 +284,9 @@ void BugServer::sendCommands( MailSender *mailer, const TQString &senderName, } if (!controlText.isEmpty()) { - kdDebug() << "control@bugs.kde.org doesn't work anymore" << endl; + kdDebug() << "control@bugs.trinitydesktop.org doesn't work anymore" << endl; #if 0 - if ( !mailer->send( senderName, senderEmail, "control@bugs.kde.org", + if ( !mailer->send( senderName, senderEmail, "control@bugs.trinitydesktop.org", i18n("Mail generated by KBugBuster"), controlText, sendBCC, recipient )) return; |