Instead of negating the logic values in several places, just invert
the logic. Also move it out of class, as it does not access any
class members.
Details
Details
- Reviewers
ngraham - Group Reviewers
Baloo - Commits
- R119:31e823b6a67a: Invert logic of shouldShowMountPoint -> ignoredMountPoint
Diff Detail
Diff Detail
- Repository
- R119 Plasma Desktop
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 22881 Build 22899: arc lint + arc unit
Comment Actions
2 Question :
1- isnt that method should be const'ified ?
2- also its name will be much better isIgnoreableMountPoint (or something can be more understandable
that it will just return true or false ) becase right now it looks like
"ignore that mount point"