Skip to content

Attempt to fix the issue #85: the released signal will not be properly emitted when pressing multiple hotkeys at the same time on windows #86

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

Merged
merged 3 commits into from
Apr 18, 2023

Conversation

FredBill1
Copy link
Contributor

Attempt to fix the issue #85 by maintaining all the pressed hotkeys in a QList and use std::remove_if to emit the signal and remove the released hotkeys from the QList.

pressed hotkeys in a QList and use std::remove_if
to emit the signal and remove the released hotkeys
from the container.
Copy link
Collaborator

@Shatur Shatur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes total sense. Here is a few minor style-wise suggestions and I will merge it.

@FredBill1 FredBill1 requested a review from Shatur April 18, 2023 07:53
Copy link
Collaborator

@Shatur Shatur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor style adjustment and we are good to go. We probably should add clang-format rules, but I'm not the original author:

Co-authored-by: Hennadii Chernyshchyk <genaloner@gmail.com>
@FredBill1 FredBill1 requested a review from Shatur April 18, 2023 08:35
@Shatur Shatur merged commit cd72a01 into Skycoder42:master Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: the released signal will not be properly emitted when pressing multiple hotkeys at the same time on windows
2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy