From 4291ef49424d014e351032f73b65d735830cf855 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 6 Dec 2011 18:29:41 -0600 Subject: [PATCH] Remove tacky donate option and redirect bug reporting URL to the TDE bugtracker --- src/kvpnc.cpp | 10 +++++----- src/kvpnc.h | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/kvpnc.cpp b/src/kvpnc.cpp index dd2256f..23c24e4 100644 --- a/src/kvpnc.cpp +++ b/src/kvpnc.cpp @@ -345,7 +345,7 @@ KVpnc::~KVpnc() delete DisconnectAction; delete ProfileManagerAction; delete NewProfileWizardAction; - delete DonateAction; +// delete DonateAction; delete ReportBugAction; delete DebugconsoleAction; delete ToolsInfoAction; @@ -385,7 +385,7 @@ void KVpnc::initAction() DisconnectAction = new KAction ( i18n ( "&Disconnect" ), "disconnected", CTRL + Key_Down, this, TQT_SLOT ( disconnectClicked() ), actionCollection(), "serverDisconnect" ); ProfileManagerAction = new KAction ( i18n ( "&Manage Profiles" ), "view_detailed", CTRL + Key_M, this, TQT_SLOT ( showProfileManagerClicked() ), actionCollection(), "profileManager" ); NewProfileWizardAction = new KAction ( i18n ( "&new Profile (Wizard)" ), "wizard", CTRL + Key_W, this, TQT_SLOT ( showNewProfileWizardClicked() ), actionCollection(), "NewProfileWizard" ); - DonateAction = new KAction ( i18n ( "&Support KVpnc..." ), "donate", CTRL + Key_D, this, TQT_SLOT ( donateClicked() ), actionCollection(), "donate" ); +// DonateAction = new KAction ( i18n ( "&Support KVpnc..." ), "donate", CTRL + Key_D, this, TQT_SLOT ( donateClicked() ), actionCollection(), "donate" ); ReportBugAction = new KAction ( i18n ( "&Report a bug..." ), "bug", CTRL + Key_R, this, TQT_SLOT ( reportBugClicked() ), actionCollection(), "reportbug" ); DebugconsoleAction = new KToggleAction ( i18n ( "Toggle Debug &Console" ), "text_center", CTRL + Key_C, this, TQT_SLOT ( toggleDebugConsole() ), actionCollection(), "debugconsole" ); ToolsInfoAction = new KToggleAction ( i18n ( "Show &Tools Info" ), "info", CTRL + Key_I, this, TQT_SLOT ( toolsInfoClicked() ), actionCollection(), "toolsinfo" ); @@ -11366,7 +11366,7 @@ void KVpnc::vpnTypesInfoClicked() VpnTypesInfoAction->setChecked ( false ); } -void KVpnc::donateClicked() +/*void KVpnc::donateClicked() { this->slotStatusMsg ( i18n ( "Calling KVpnc website..." ), ID_FLASH_MSG ); TQString donateurl = "http://home.gna.org/kvpnc/en/donate.html"; @@ -11402,11 +11402,11 @@ void KVpnc::donateClicked() DonateProcess=0L; this->slotStatusMsg ( i18n ( "Ready." ), ID_STATUS_MSG ); -} +}*/ void KVpnc::reportBugClicked() { - TQString bugreporturl = "https://gna.org/bugs/?group=kvpnc"; + TQString bugreporturl = "http://bugs.trinitydesktop.org"; TQString browser = TQString ( KConfigGroup ( KGlobal::config(), "General" ).readEntry ( "BrowserApplication" ) ).remove ( "!", "" ); if ( browser.isEmpty() ) diff --git a/src/kvpnc.h b/src/kvpnc.h index 731fc3d..e1827cc 100644 --- a/src/kvpnc.h +++ b/src/kvpnc.h @@ -169,7 +169,7 @@ private: KAction *NewProfileWizardAction; KAction *HelpAction; KAction *PrefAction; - KAction *DonateAction; +// KAction *DonateAction; KAction *ReportBugAction; KAction *SendFeedbackMailAction; KAction *PreferencesAction; //< show preferences dialog @@ -284,7 +284,7 @@ private: TQProcess *OpenL2tpProcess; TQProcess *RemoveSetkeyProcess; TQProcess *BugReportProcess; - TQProcess *DonateProcess; +// TQProcess *DonateProcess; TQProcess *VtundProcess; TQProcess *StartStopOpenl2tpProcess; KProcess *SshProcess; @@ -349,7 +349,7 @@ public slots: void helpClicked(); void toolsInfoClicked(); void vpnTypesInfoClicked(); - void donateClicked(); +// void donateClicked(); void reportBugClicked(); void saveGuiOptions(); void showNewProfileWizardClicked();