Forward port r699554 (autoSaveMessage bug fix).

svn path=/trunk/KDE/kdepim/; revision=699556
wilder-work
Bruno Virlet 19 years ago
parent ba31922cd1
commit e26109d125
  1. 13
      kmcomposewin.cpp
  2. 4
      kmcomposewin.h

@ -719,8 +719,10 @@ void KMComposeWin::autoSaveMessage()
applyChanges( true, true );
// Don't continue before the applyChanges is done!
qApp->enter_loop();
}
void KMComposeWin::slotContinueAutoSave()
{
// Ok, it's done now - continue dead letter saving
if ( mComposedMessages.isEmpty() ) {
kDebug(5006) <<"Composing the message failed.";
@ -764,17 +766,10 @@ void KMComposeWin::autoSaveMessage()
}
if ( autoSaveInterval() > 0 ) {
mAutoSaveTimer->start( autoSaveInterval() );
updateAutoSave();
}
}
void KMComposeWin::slotContinueAutoSave( bool )
{
disconnect( this, SIGNAL( applyChangesDone( bool ) ),
this, SLOT( slotContinueAutoSave( bool ) ) );
qApp->exit_loop();
}
//-----------------------------------------------------------------------------
void KMComposeWin::slotView( void )
{

@ -755,7 +755,7 @@ public: // mailserviceimpl
int mAttachFilesSend;
private:
// helper method for slotInsert(My)PublicKey()
// helper method for slotInsert(My)PublicKey()
void startPublicKeyExport();
bool canSignEncryptAttachments() const {
return cryptoMessageFormat() != Kleo::InlineOpenPGPFormat;
@ -776,7 +776,7 @@ public: // mailserviceimpl
void slotContinueDoSend( bool );
void slotContinuePrint( bool );
void slotContinueAutoSave( bool );
void slotContinueAutoSave();
void slotEncryptChiasmusToggled( bool );

Loading…
Cancel
Save