From e59be40cbeefe0e2a5357aa3422be98baac36239 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Mon, 2 Nov 2009 19:19:50 +0000 Subject: [PATCH] Disable account wizard svn path=/branches/work/akonadi-ports/kdepim/; revision=1043970 --- kmmainwidget.cpp | 6 ++++-- kmmainwidget.h | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/kmmainwidget.cpp b/kmmainwidget.cpp index f9ef2dd28..fcae930e3 100644 --- a/kmmainwidget.cpp +++ b/kmmainwidget.cpp @@ -3292,9 +3292,11 @@ void KMMainWidget::setupActions() connect(action, SIGNAL(triggered(bool) ), SLOT(slotAntiVirusWizard())); } { +#if 0 KAction *action = new KAction( i18n("&Account Wizard..."), this ); actionCollection()->addAction( "accountWizard", action ); connect( action, SIGNAL(triggered(bool)), SLOT(slotAccountWizard()) ); +#endif } if ( GlobalSettings::self()->allowOutOfOfficeSettings() ) { @@ -4628,13 +4630,13 @@ void KMMainWidget::slotAntiVirusWizard() AntiSpamWizard wiz( AntiSpamWizard::AntiVirus, this); wiz.exec(); } - +#if 0 //----------------------------------------------------------------------------- void KMMainWidget::slotAccountWizard() { AccountWizard::start( kmkernel, this ); } - +#endif //----------------------------------------------------------------------------- void KMMainWidget::slotFilterLogViewer() { diff --git a/kmmainwidget.h b/kmmainwidget.h index 8b160c5cc..42ea96e2d 100644 --- a/kmmainwidget.h +++ b/kmmainwidget.h @@ -391,8 +391,9 @@ class KMAIL_EXPORT KMMainWidget : public QWidget void slotAntiSpamWizard(); void slotAntiVirusWizard(); void slotFilterLogViewer(); +#if 0 void slotAccountWizard(); - +#endif /** Message navigation */ void slotSelectNextMessage(); void slotExtendSelectionToNextMessage();