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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
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.