Signed-off-by: André Agenor <andreagenor@icloud.com>
The QApplication static member doesn't need to be accessed through an instance
Details
Diff Detail
- Repository
- R374 KolourPaint
- Branch
- fix/static-member
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 10550 Build 10568: arc lint + arc unit
Which warning exactly? I do not see any when building kolourpaint/master on my own machine.
I believe that he builds in clang and clang 8 added quite a bunch of new
warnings
Em ter, 9 de abr de 2019 às 06:55, Pino Toscano <noreply@phabricator.kde.org>
escreveu:
pino added a comment. View Revision https://phabricator.kde.org/D20335
In D20335#446381 https://phabricator.kde.org/D20335#446381, @andreagenor
https://phabricator.kde.org/p/andreagenor/ wrote:In D20335#446223 https://phabricator.kde.org/D20335#446223, @tcanabrava
https://phabricator.kde.org/p/tcanabrava/ wrote:true, but then the instance is there anyway. what we gain from this?
we remove compiler warning
Which warning exactly? I do not see any when building kolourpaint/master
on my own machine.*REPOSITORY*
R374 KolourPaint*REVISION DETAIL*
https://phabricator.kde.org/D20335*To: *andreagenor, tcanabrava
*Cc: *pino