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

            Bug ID: 358506
           Summary: Fix-it hint for missing include should suggest
                    QCamelCase include
           Product: kdevelop
           Version: 4.90.91
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: fa...@kde.org

The fix-it hint in case of missing #include for e.g. QBuffer should suggest
<QBuffer>, not just <qbuffer.h> and <../src/corelib/io/qbuffer.h>

Reproducible: Always

Steps to Reproduce:
1. Configure Qt with -developer-build (I don't know if it works on an installed
Qt)
2. Open kio/autotests/clipboardupdatertest.cpp
3. In initTestCase() type QBuffer buffer;


Actual Results:  
The fix-it hints (both the ones on top and the redundant ones in the "Problem
in semantic analysis" button (why the duplication of GUI?) offer only
<qbuffer.h> and <../src/corelib/io/qbuffer.h>

Expected Results:  
I would expect only one GUI for fix-it hints (right now it's a bit of a mess,
it seems quite unreliable when either one is going to pop up), but mostly this
bug is that I would expect <QBuffer> as a suggested include, as recommended by
the Qt documentation (and as QtCreator does).

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

Reply via email to