[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdepim/kmail
From: Carsten Burghardt <burghardt () kde ! org>
Date: 2005-05-01 17:46:37
Message-ID: 20050501174637.DEA4B4A6 () office ! kde ! org
[Download RAW message or body]
CVS commit by burghard:
Use correct action.
BUGS:104898
M +3 -2 kmreaderwin.cpp 1.807
--- kdepim/kmail/kmreaderwin.cpp #1.806:1.807
@@ -2105,8 +2105,9 @@ void KMReaderWin::openAttachment( int id
}
else if( choice == KMessageBox::No ) { // Open
+ KMHandleAttachmentCommand::AttachmentAction action = ( offer ?
+ KMHandleAttachmentCommand::Open : KMHandleAttachmentCommand::OpenWith );
mAtmUpdate = true;
KMHandleAttachmentCommand* command = new KMHandleAttachmentCommand( node,
- message(), mAtmCurrent, mAtmCurrentName, KMHandleAttachmentCommand::Open,
- offer );
+ message(), mAtmCurrent, mAtmCurrentName, action, offer );
connect( command, SIGNAL( showAttachment( int, const QString& ) ),
this, SLOT( slotAtmView( int, const QString& ) ) );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic