-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typo fixes #318
base: master
Are you sure you want to change the base?
Typo fixes #318
Conversation
@tsujan, could you review this old PR - asking because you merged most of my other typo fixes. Also I have two .ui/XML tab-order PRs, in lxqt-session and lxqt-config. |
@isf63, thanks for the reminder. Real life problems may interfere with reviewing (and coding, in general). Reminders like this are appreciated, when a PR was made before the previous release. |
lxqtapplication.cpp
Outdated
@@ -142,7 +142,7 @@ namespace | |||
QScopedPointer<SignalHandler> SignalHandler::instance; | |||
} | |||
|
|||
void Application::listenToUnixSignals(QList<int> const & signoList) | |||
void Application::listenToUnixSignals(QList<int> const & signalList) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, in the body of the function (this cannot be compiled).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Btw. this wasn't any typo, but intentional name (signal numbers list) :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Btw. this wasn't any typo
The comment of the function said ... defined in \param signalList...
.
"signolList" wasn't indicative of a number either. I think @isf63 was right to treat it as a typo, although a harmless one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll change the identifier and comment to signoList
as that is used elsewhere in lxqtapplication.cpp/h.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll change the identifier and comment to signoList as that is used elsewhere in lxqtapplication.cpp/h.
Oh, this is getting complicated for no good reason. That method is public and has a comment; "signoList" has no meaning as a name either. Your previous change was good, and I was going to merge it after a test....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
signoList
has a well-defined meaning - 'signo' in Unix/Linux means 'signal number'. Running grep -o -i signo lxqtapplication.cpp
there were 13 instances of signo before the recent commit, including another signoList method param.
I agree, getting complicated, but I think it's done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
signoList has a well-defined meaning...
It may have been used by some devs and then copied. "Linux signo" leads to "Linux signal" in Google and Wikipedia.
there were 13 instances of signo
That's why I said, "That method is public and has a comment....". Anyway, I resigned from reviewing it. Hopefully, another dev will do it.
Typo fixes to comments/text and identifiers. Half of the changes are to CHANGELOG.
Affected files: