[patch] [update] ktexteditor avoid multiple deletion; make qAddPostRoutine play well with K_GLOBAL_STATIC

Joseph Wenninger jowenn at kde.org
Sat Apr 12 08:55:17 BST 2008


Hi

Patch looks okay to me, please commit

Kind regards
Joseph Wenninger

On Saturday 12 April 2008 01:13:13 Jarosław Staniek wrote:
> for review; (update for [patch] KTextEditorFactoryList: make
> qAddPostRoutine play well with K_GLOBAL_STATIC [2008-04-11 15:16])
>
> Example: KWrite uses KTextEditor::EditorChooser::editor(), what in turn
> calls KTextEditor::editor("katepart") for each new editor window, always
> with the same part name.
>
> Solution: Use QSet (KTextEditorFactorySet) instead of QList to avoid
> multiple deletion of the same factory object.



-- 
Been there, done that
KATE developer - Joseph Wenninger <jowenn at kde.org>




More information about the kde-core-devel mailing list