| Summary: | KDevelop/quickopen : QMetaMethod::invoke prints error message | ||
|---|---|---|---|
| Product: | [Developer tools] kdevplatform | Reporter: | RJVB <rjvbertin> |
| Component: | quickopen | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | ||
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | All | ||
| Latest Commit: | https://invent.kde.org/kdevelop/kdevelop/commit/2536b7607372c01a4f70b964801b827a760ad2b9 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
RJVB
2020-12-03 11:20:17 UTC
Git commit 2536b7607372c01a4f70b964801b827a760ad2b9 by Milian Wolff. Committed on 07/12/2020 at 10:34. Pushed by mwolff into branch 'master'. Properly current item in quick open outline Use a timer with a lambda instead of trying (and failing) to call a non-slot via QMetaObject::invoke. While at it, cleanup the code to not be so horrible. M +13 -12 plugins/quickopen/quickopenplugin.cpp https://invent.kde.org/kdevelop/kdevelop/commit/2536b7607372c01a4f70b964801b827a760ad2b9 Any idea why adding a slot in the ExpandingTree class didn't work? I didn't expect that you'd be doing some additional code maintenance, or I would have suggested that it would be nice if one could close the drop-down menu by clicking a 2nd click in the outline line edit widget (like with regular menus). |