# HG changeset patch # User jhilmer # Date 1122131614 0 # Node ID e7f59f62bbe3ba4c7cceed04032e5a5f32b2a261 # Parent 6c199971ddb5713e50fc8bb724f23bfb3ca87d03 Fixed possible use of uninitialized variable (state) diff -r 6c199971ddb5 -r e7f59f62bbe3 texteditor.cpp --- a/texteditor.cpp Sat Jul 23 10:26:30 2005 +0000 +++ b/texteditor.cpp Sat Jul 23 15:13:34 2005 +0000 @@ -531,8 +531,8 @@ void TextEditor::setInactive() { + state=inactiveEditor; setText(""); - state=inactiveEditor; e->setPaper (inactivePaper); e->setReadOnly (true);