From d6273ac0b60bd13e3704a4316f6d1fc9727faf0f Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Fri, 1 Jul 2011 13:37:19 +0200 Subject: [PATCH] Fix Bug 276775 - "no attachments found" when opening email in its own window Before we looked at in kmreadermainwin if we selected a item in treeview but by default we don't select it. (cherry picked from commit 7c2b64c9ebb90737b4e362d8850acd81fcc063a1) --- kmreadermainwin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmreadermainwin.cpp b/kmreadermainwin.cpp index 22a4255b0..b036ba1ae 100644 --- a/kmreadermainwin.cpp +++ b/kmreadermainwin.cpp @@ -280,7 +280,7 @@ void KMReaderMainWin::setupAccel() mSaveAsAction->setShortcut( KStandardShortcut::shortcut( KStandardShortcut::Save ) ); mSaveAtmAction = new KAction(KIcon("mail-attachment"), i18n("Save A&ttachments..."), actionCollection() ); - connect( mSaveAtmAction, SIGNAL(triggered(bool)), mReaderWin->viewer(), SLOT(slotAttachmentSaveAs()) ); + connect( mSaveAtmAction, SIGNAL(triggered(bool)), mReaderWin->viewer(), SLOT(slotAttachmentSaveAll()) ); mTrashAction = new KAction( KIcon( "user-trash" ), i18n("&Move to Trash"), this ); mTrashAction->setIconText( i18nc( "@action:intoolbar Move to Trash", "Trash" ) );