| Summary: |
Completion helper removes static word from begin of declaration function |
| Product: |
[Applications] kdevelop
|
Reporter: |
Piotr Mierzwinski <piotr.mierzwinski> |
| Component: |
Language Support: CPP (Clang-based) | Assignee: |
kdevelop-bugs-null |
| Status: |
RESOLVED
FIXED
|
|
|
| Severity: |
normal
|
CC: |
piotr.mierzwinski
|
| Priority: |
VHI
|
Keywords: |
release_blocker |
| Version First Reported In: |
4.90.90 | |
|
| Target Milestone: |
5.0.0 | |
|
| Platform: |
Kubuntu | |
|
| OS: |
Linux | |
|
|
Latest Commit:
|
http://commits.kde.org/kdevelop/d332c3af3168cb3499674642d7884395e6db54f1
|
Version Fixed/Implemented In:
|
|
|
Sentry Crash Report:
|
|
| |
In class MyClass there is... Declaration (header file): static QString getText( QWidget *pParent, const QString &sInInitText, bool &bParam, const QString &sInLabel = QString::null, unsigned int par = 2, const QString &sInWndTitle = QString::null ); Definition (cpp file): QString MyClass::getText( QWidget *pParent, const QString &sInInitText, bool &bParam, const QString &sInLabel, unsigned int par, const QString &sInWndTitle ) { ... } Being in cpp file try to remove entire last argument: ", const QString &sInWndTitle" and choose "Update declaration signature" (pressing Alt+1) on "Adapt signature" helper window. Reproducible: Always Actual Results: Declaration (header file): QString getText( QWidget *pParent, const QString &sInInitText, bool &bParam, const QString &sInLabel = QString::null, unsigned int par = 2 ); Expected Results: Declaration (header file): static QString getText( QWidget *pParent, const QString &sInInitText, bool &bParam, const QString &sInLabel = QString::null, unsigned int par = 2 );