Don't initialize QFlags<T> with nullptr
ClosedPublic

Authored by zzag on Sep 19 2019, 3:19 PM.

Details

Summary

This looks very odd.

Test Plan

Compiles.

Diff Detail

Repository
R108 KWin
Branch
fix-initialization-of-qflags
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 16789
Build 16807: arc lint + arc unit
zzag created this revision.Sep 19 2019, 3:19 PM
Restricted Application added a project: KWin. · View Herald TranscriptSep 19 2019, 3:19 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.Sep 19 2019, 3:19 PM
apol added a subscriber: apol.Sep 19 2019, 3:33 PM
apol added inline comments.
kcmkwin/kwinrules/ruleswidget.cpp
590

maybe using {} reads better?

zzag updated this revision to Diff 66479.Sep 19 2019, 4:02 PM

apol's suggestion.

romangg accepted this revision.Sep 19 2019, 6:19 PM
This revision is now accepted and ready to land.Sep 19 2019, 6:19 PM
This revision was automatically updated to reflect the committed changes.