Skip to content

qt: Make sure stylesheet updates of -debug-ui are activated#3623

Merged
UdjinM6 merged 1 commit into
dashpay:developfrom
xdustinface:pr-ui-fix-debug-ui
Jul 27, 2020
Merged

qt: Make sure stylesheet updates of -debug-ui are activated#3623
UdjinM6 merged 1 commit into
dashpay:developfrom
xdustinface:pr-ui-fix-debug-ui

Conversation

@xdustinface
Copy link
Copy Markdown

This reverses force logic of GUIUtil::loadTheme to not force by default and instead forces it explicit in appearance widgets call.

Due to fForce beeing default the ui debug timer wasn't started properly after #3559 because there was no call of GUIUtil::loadStylesheet without fForce=true which is a requirement to start the debug timer.

Currently based on #3568

This reverses force logic of `GUIUtil::loadTheme` to not force by default and instead forces it explicit in appearance widgets call.

Due to `fForce` beeing default the ui debug timer wasn't started properly because there was no call of `GUIUtil::loadStylesheet` without `fForce=true` which is a requirement to start the debug timer.
@xdustinface xdustinface marked this pull request as ready for review July 26, 2020 11:49
@xdustinface
Copy link
Copy Markdown
Author

Ready for review!

Copy link
Copy Markdown

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

I guess you could tweak this line https://github.com/dashpay/dash/blob/develop/src/qt/dash.cpp#L384 instead but unifying loadTheme and loadStyleSheet args is a nice side effect of this PR, so

ACK

@xdustinface
Copy link
Copy Markdown
Author

unifying loadTheme and loadStyleSheet args is a nice side effect of this PR, so

jup + force something should just not be the default imo :D

Copy link
Copy Markdown
Member

@PastaPastaPasta PastaPastaPasta left a comment

Choose a reason for hiding this comment

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

utACK

@UdjinM6 UdjinM6 merged commit 7e10b82 into dashpay:develop Jul 27, 2020
@UdjinM6 UdjinM6 added this to the 17 milestone Aug 26, 2020
xdustinface added a commit to xdustinface/dash that referenced this pull request Sep 3, 2020
…3623)

This reverses force logic of `GUIUtil::loadTheme` to not force by default and instead forces it explicit in appearance widgets call.

Due to `fForce` beeing default the ui debug timer wasn't started properly because there was no call of `GUIUtil::loadStylesheet` without `fForce=true` which is a requirement to start the debug timer.
@UdjinM6 UdjinM6 modified the milestones: 17, 16 Sep 4, 2020
gades pushed a commit to cosanta/cosanta-core that referenced this pull request Mar 10, 2022
…3623)

This reverses force logic of `GUIUtil::loadTheme` to not force by default and instead forces it explicit in appearance widgets call.

Due to `fForce` beeing default the ui debug timer wasn't started properly because there was no call of `GUIUtil::loadStylesheet` without `fForce=true` which is a requirement to start the debug timer.
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.

3 participants