On Monday, August 8, 2011 18:53:30 Ben Cooksley wrote:
> Anyone got any ideas on how to solve this properly?

to fix it in folderview, i might do something like this:

there is a signal in KTextEdit called aboutToShowContextMenu(QMenu *). 
ItemEditor could use that to record the menu that is being shown.

then, in the FocusOut event, that point could be compared with the value 
returned by  QApplication::activePopupWidget(). if they match, then don't hide 
the editor :)

it also may make sense in KTextEditor to connect the QMenu's aboutToHide 
signal to its deleteLater() slot so that the "delete popup;" on line 621 
becomes unecessary.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to