the toolview documents "open with" action is executed as often as it has different open file types Reproducible: Always Steps to Reproduce: 1. open kdevelop 2. open any project 3. open some.cpp (in kdevelop) 3.1 the toolview documents, rightclick some.cpp -> open with -> kwrite 3.2 it opens 1 kwrite with some.cpp 4. open some.h (in kdevelop) 5. the toolview documents, rightclick some.cpp -> open with -> kwrite Actual Results: kwrite is opened 2 times now with some.cpp if you now open some.txt, and again in the toolview documents -> open with -> kwrite you now get 3 kwrites Expected Results: kwrite should be opened just once
Git commit cfb780d22254188855d88c6799fb04fd32700d01 by Milian Wolff. Committed on 05/10/2012 at 01:28. Pushed by mwolff into branch '1.4'. Only handle document model once, not once for every top row. M +8 -11 plugins/documentview/kdevdocumentview.cpp http://commits.kde.org/kdevplatform/cfb780d22254188855d88c6799fb04fd32700d01