Fix warnings about nullptr for flags
ClosedPublic

Authored by volkov on Oct 31 2018, 2:39 PM.

Details

Summary

Use QFlags::QFlags() ctor instead of 0.

Diff Detail

Repository
R478 KDiagram: Libraries for diagrams
Branch
qflags-nullptr
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 4366
Build 4384: arc lint + arc unit
volkov requested review of this revision.Oct 31 2018, 2:39 PM
volkov created this revision.
tbaumgart added inline comments.
examples/DrawIntoPainter/framewidget.h
35

Shouldn't it be parent = nullptr additionally? I did not mark all the other instances in this patch.

danders accepted this revision.Nov 1 2018, 7:01 AM
danders added a subscriber: danders.

Yes, I have patch for nullptr, not pushed yet.

This revision is now accepted and ready to land.Nov 1 2018, 7:01 AM
volkov closed this revision.Nov 1 2018, 10:57 AM