author | llornkcor <llornkcor> | 2002-09-22 01:21:48 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-09-22 01:21:48 (UTC) |
commit | 4ad2edeaf52db70042ba27a97e16733cbc6a8cc0 (patch) (side-by-side diff) | |
tree | ab2adb51887a5a1ceece5b2ba4b1131c13cc36d7 | |
parent | ad9e290551c610e4ccaafb20b72699b39b55d079 (diff) | |
download | opie-4ad2edeaf52db70042ba27a97e16733cbc6a8cc0.zip opie-4ad2edeaf52db70042ba27a97e16733cbc6a8cc0.tar.gz opie-4ad2edeaf52db70042ba27a97e16733cbc6a8cc0.tar.bz2 |
fix race
-rw-r--r-- | noncore/applets/notesapplet/notes.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/applets/notesapplet/notes.cpp b/noncore/applets/notesapplet/notes.cpp index 64731e3..a4aa093 100644 --- a/noncore/applets/notesapplet/notes.cpp +++ b/noncore/applets/notesapplet/notes.cpp @@ -270,7 +270,7 @@ void NotesControl::populateBox() { } list.sort(); box->insertStringList(list,-1); - + doPopulate=false; } void NotesControl::load() { @@ -348,10 +348,10 @@ void NotesApplet::mousePressEvent( QMouseEvent *) { vc->move( 5, 18); vc->doPopulate=true; vc->populateBox(); - vc->load(); - + vc->doPopulate=false; - this->setFocus(); + vc->load(); +// this->setFocus(); vc->view->setFocus(); } } |