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

Possible solution for unresponsive wallet during poll reloading #2171

Closed
sibebleuze opened this issue Jun 10, 2021 · 1 comment
Closed

Possible solution for unresponsive wallet during poll reloading #2171

sibebleuze opened this issue Jun 10, 2021 · 1 comment

Comments

@sibebleuze
Copy link

Hi, I recently started working on my own program with Qt and there I encountered the need for a function that keeps the program responsive during a certain loop that takes quite long. I found that QCoreApplication::processEvents did just that. I think it is already used in some places in the Gridcoin wallet, but if I am correct it is not yet used in the Voting tab. I thought this might be a solution for the app being unresponsive when the polls are being reloaded (for which there is a warning message now).
Since I don't really have a lot of time right now and like I said I only recently started with Qt, I thought it would be best if one of you would take a look and see if it's helpful. If not that's too bad, but who knows, maybe it'll work.

@jamescowens
Copy link
Member

Thanks for the suggestion! :) We are familiar with processEvents. We have solved this in the new Voting tab PR #2151 that was recently merged.

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

No branches or pull requests

2 participants