Skip to content
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

qt: Notificator class refactoring #15007

Merged
merged 1 commit into from
Jan 4, 2019

Conversation

hebasto
Copy link
Member

@hebasto hebasto commented Dec 19, 2018

This PR:

  • removes misplaced Q_UNUSED(cls); cls is actually used:

    switch(cls)

  • removes unused parameters in functions notifySystray() and notifyMacUserNotificationCenter()

  • improves comments

Also this removes unused function parameters and improves comments.
@fanquake fanquake added the GUI label Dec 19, 2018
@practicalswift
Copy link
Contributor

Concept ACK

Nice cleanup!

@DrahtBot
Copy link
Contributor

DrahtBot commented Dec 21, 2018

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

No conflicts as of last run.

@promag
Copy link
Contributor

promag commented Dec 31, 2018

Concept ACK, will test.

@promag
Copy link
Contributor

promag commented Jan 2, 2019

tACK 698d0f8 on macOS 10.14.1. Updated comments also LGTM.

@fanquake
Copy link
Member

fanquake commented Jan 2, 2019

Quickly-tested ACK 698d0f8 Checked that notifications work on macOS:
notifications - 15007

@laanwj
Copy link
Member

laanwj commented Jan 4, 2019

utACK 698d0f8

@laanwj laanwj merged commit 698d0f8 into bitcoin:master Jan 4, 2019
laanwj added a commit that referenced this pull request Jan 4, 2019
698d0f8 Remove misplaced Q_UNUSED and others enhancements (Hennadii Stepanov)

Pull request description:

  This PR:
  - removes misplaced `Q_UNUSED(cls)`; `cls` is actually used:
  https://github.com/bitcoin/bitcoin/blob/eb7daf4d600eeb631427c018a984a77a34aca66e/src/qt/notificator.cpp#L188

  - removes unused parameters in functions `notifySystray()` and `notifyMacUserNotificationCenter()`

  - improves comments

Tree-SHA512: 78c0713f2a968b471dae422e9a5a0959018923e0d24ed595921001a9895ffb6ceb0311c63e4264fdff470b021a8b8df0f6972c630a051dafed06281880acc261
@hebasto hebasto deleted the 20181219-notificator-enhancement branch January 4, 2019 11:38
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jun 26, 2021
698d0f8 Remove misplaced Q_UNUSED and others enhancements (Hennadii Stepanov)

Pull request description:

  This PR:
  - removes misplaced `Q_UNUSED(cls)`; `cls` is actually used:
  https://github.com/bitcoin/bitcoin/blob/eb7daf4d600eeb631427c018a984a77a34aca66e/src/qt/notificator.cpp#L188

  - removes unused parameters in functions `notifySystray()` and `notifyMacUserNotificationCenter()`

  - improves comments

Tree-SHA512: 78c0713f2a968b471dae422e9a5a0959018923e0d24ed595921001a9895ffb6ceb0311c63e4264fdff470b021a8b8df0f6972c630a051dafed06281880acc261
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jun 28, 2021
698d0f8 Remove misplaced Q_UNUSED and others enhancements (Hennadii Stepanov)

Pull request description:

  This PR:
  - removes misplaced `Q_UNUSED(cls)`; `cls` is actually used:
  https://github.com/bitcoin/bitcoin/blob/eb7daf4d600eeb631427c018a984a77a34aca66e/src/qt/notificator.cpp#L188

  - removes unused parameters in functions `notifySystray()` and `notifyMacUserNotificationCenter()`

  - improves comments

Tree-SHA512: 78c0713f2a968b471dae422e9a5a0959018923e0d24ed595921001a9895ffb6ceb0311c63e4264fdff470b021a8b8df0f6972c630a051dafed06281880acc261
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Dec 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants