Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.6.2
-
None
-
Linux & Windows. Qt 4.6.2.
Description
Signal QTextDocument::contentsChanged() seems to be sent twice on each backspace deletion.
You can easily reproduce this e.g. with Qt textedit demo by:
1) adding one more signal connection to TextEdit::TextEdit(QWidget *parent) contructor:
connect(textEdit->document(), SIGNAL(contentsChanged()), this, SLOT(showSignalCount()));
2) creating an own slot for setting a debug breakpoint there when using backspace:
void TextEdit::showSignalCount() {}