Add autocorrection

wilder-work
Montel Laurent 14 years ago
parent 570ceda4b3
commit 11607109c4
  1. 2
      configuredialog.cpp
  2. 1
      kmcomposereditor.cpp

@ -3319,7 +3319,7 @@ ComposerPageAutoCorrectionTab::ComposerPageAutoCorrectionTab(QWidget *parent)
vlay->setSpacing( 0 );
vlay->setMargin( 0 );
autocorrectionWidget = new KMComposerAutoCorrectionWidget(this);
//TODO autocorrectionWidget->setAutoCorrection();
autocorrectionWidget->setAutoCorrection(KMKernel::self()->composerAutoCorrection());
vlay->addWidget(autocorrectionWidget);
setLayout(vlay);
}

@ -51,6 +51,7 @@ using namespace MailCommon;
KMComposerEditor::KMComposerEditor( KMComposeWin *win,QWidget *parent)
: Message::KMeditor(parent, "kmail2rc" ),m_composerWin(win)
{
setAutocorrection(KMKernel::self()->composerAutoCorrection());
}
KMComposerEditor::~KMComposerEditor()

Loading…
Cancel
Save