https://bugs.kde.org/show_bug.cgi?id=429962

            Bug ID: 429962
           Summary: KDevelop/quickopen : QMetaMethod::invoke prints error
                    message
           Product: kdevplatform
           Version: git master
          Platform: Compiled Sources
                OS: All
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: quickopen
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: rjvber...@gmail.com
  Target Milestone: ---

SUMMARY
Clicking in the "Outline" drop-down widget causes QMetaMethod::invoke to print
an error on the calling terminal, apparently without any ill effects.

STEPS TO REPRODUCE
1. Open a project and at least 1 source file in KDevelop
2. Click in the Outline widget to get the outline of the code in the file

OBSERVED RESULT
The terminal shows

QMetaObject::invokeMethod: No such method ExpandingTree::scrollTo(const
QModelIndex,QAbstractItemView::ScrollHint)

and the outline opens (presumably in that order); the widget is as functinonal
as I'd expect it to be. The responsible queued invocation of scrollTo() in
quickopenplugin.cpp:872 is 12 years old (commit 6ee7126a) and apparently
already didn't do the trick back then.

EXPECTED RESULT
No error messages, and if possible a widget that does show the current
function.


SOFTWARE/OS VERSIONS
Qt Version: 5.9.8

ADDITIONAL INFORMATION

After adding an explicit ExpandingTree::scrollTo(const QModelIndex,
QAbstractItemView::ScrollHint) (yes, NOT a reference for the 1st argument, to
add the supposedly missing method) the error becomes:

QMetaMethod::invoke: Unable to handle unregistered datatype
'QAbstractItemView::ScrollHint'

I have no idea what to do about that.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to