diff --git a/kmcomposewin.cpp b/kmcomposewin.cpp index ed7e815d9..e51c4dfd4 100644 --- a/kmcomposewin.cpp +++ b/kmcomposewin.cpp @@ -1240,7 +1240,7 @@ void KMComposeWin::setupActions( void ) SLOT(getTransportMenu()) ); QAction *action = new KAction( KIcon( "document-save" ), i18n("Save as &Draft"), this ); - actionCollection()->addAction(" save_in_drafts", action ); + actionCollection()->addAction("save_in_drafts", action ); connect( action, SIGNAL(triggered(bool) ), SLOT(slotSaveDraft()) ); action = new KAction( KIcon( "document-save" ), i18n("Save as &Template"), this ); diff --git a/kmmainwidget.cpp b/kmmainwidget.cpp index 7d2e10c7c..7fefd5255 100644 --- a/kmmainwidget.cpp +++ b/kmmainwidget.cpp @@ -553,11 +553,6 @@ void KMMainWidget::createWidgets(void) mimeParent = messageParent = mPanner1; } -#ifndef NDEBUG - mPanner1->dumpObjectTree(); - mPanner2->dumpObjectTree(); -#endif - mTopLayout->setMargin (0); mTopLayout->addWidget( mPanner1 ); @@ -566,9 +561,6 @@ void KMMainWidget::createWidgets(void) // Probably need to disconnect them first. // create list of messages -#ifndef NDEBUG - headerParent->dumpObjectTree(); -#endif mSearchAndHeaders = new KVBox( headerParent ); mSearchToolBar = new QToolBar( mSearchAndHeaders); mSearchToolBar->setObjectName( "search toolbar" ); @@ -2745,7 +2737,7 @@ void KMMainWidget::setupActions() if (KStandardDirs::findExe("kmailcvt").isEmpty()) act->setEnabled(false); #if !defined(NDEBUG) - action = new KAction(KIcon("idea"), i18n("&Debug Sieve..."), this); + action = new KAction(i18n("&Debug Sieve..."), this); actionCollection()->addAction("tools_debug_sieve", action ); connect(action, SIGNAL(triggered(bool) ), SLOT(slotDebugSieve())); #endif