Reformatted all if statements
AbandonedPublic

Authored by ryanmccoskrie on Mar 8 2020, 3:21 AM.

Details

Reviewers
trmdi
ognarb
Group Reviewers
Yakuake
Summary

Replaced all instances of

if (

with

if(

To comply with current KF5 style guidelines

Diff Detail

Repository
R369 Yakuake
Lint
Lint Skipped
Unit
Unit Tests Skipped
ryanmccoskrie requested review of this revision.Mar 8 2020, 3:21 AM
ryanmccoskrie created this revision.
trmdi added a subscriber: trmdi.Mar 8 2020, 4:36 AM

Look weird. Don't you misunderstand it?

trmdi requested changes to this revision.Mar 8 2020, 4:39 AM
This revision now requires changes to proceed.Mar 8 2020, 4:39 AM

Look weird. Don't you misunderstand it?

Apparently my titlebar resize patch shouldn't have a space between "if" and "(" so I changed the rest of Yakuake to match.

trmdi added a comment.EditedMar 8 2020, 10:24 AM

Look weird. Don't you misunderstand it?

Apparently my titlebar resize patch shouldn't have a space between "if" and "(" so I changed the rest of Yakuake to match.

The spaces are needed. Do not remove them.

ognarb requested changes to this revision.Mar 8 2020, 12:31 PM
ognarb added a subscriber: ognarb.

I don't knwo there you read this, but in the Frameworks Coding Style there is a whitespace between if and (. See https://techbase.kde.org/Policies/Frameworks_Coding_Style#Whitespace

ryanmccoskrie added a comment.EditedMar 10 2020, 2:55 AM

I don't knwo there you read this, but in the Frameworks Coding Style there is a whitespace between if and (. See https://techbase.kde.org/Policies/Frameworks_Coding_Style#Whitespace

*Scrunches face up in confusion*

https://community.kde.org/Policies/Frameworks_Coding_Style#Whitespace says the opposite.

I actually prefer the techbase.kde.org policy over the community.kde.org policy but was told to follow the latter.

I think you may have misread the coding style or misinterpreted what you saw - both style documents specify a space between the if and the (

ryanmccoskrie abandoned this revision.Mar 10 2020, 3:11 AM

Put it down to a mixture of exhaustion and NLD (an honorary member of the autism spectrum).