[KDE-Sonnet] Disable restarting?
Mirko Stocker
me at misto.ch
Thu Mar 20 23:14:11 CET 2008
Hi!
I'm currently porting Kate from the old K3Spell to Sonnet. Now, as far as I
understand it, the spell checking can be restarted if one changes the buffer
in slotDone. But if I set the buffer for the first time, restarting is
activated too, which isn't really what I want. Can't we set the restart flag
to false before emitting the done signal? I'd like to apply the following
changes if that's ok:
--- dialog.cpp (revision 783322)
+++ dialog.cpp (working copy)
@@ -288,6 +288,7 @@
{
kDebug()<<"Dialog done!";
QString buffer(d->originalBuffer);
+ d->restart = false;
emit done(d->checker->text());
if (d->restart)
{
And I suppose I could just remove that buffer-String too, ok?
Cheers,
Mirko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-sonnet/attachments/20080320/b4438888/attachment.pgp
More information about the kde-sonnet
mailing list