-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
OS Theme shining though fix #1691
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
Conversation
e80beb8
to
4024830
Compare
I have cleaned up the solution a bit. |
I can see the previously activated preview button light up shortly when I hit another preview button. |
it's not shortly, it's persistent.. |
and I do not have this on #1687 |
prober rebuild fixed everything .. |
I tried |
OK, rebased, to get rid of merge conflicts. |
src/library/bpmdelegate.cpp
Outdated
@@ -75,6 +77,21 @@ void BPMDelegate::paint(QPainter* painter,const QStyleOptionViewItem &option, | |||
QStyleOptionViewItemV4 opt = option; | |||
initStyleOption(&opt, index); | |||
|
|||
// Set the palette appropriately based on whether the row is selected or |
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.
These lines are duplicated in TableItemDelegate::paint(). Can we move them into a protected utility function in the base class?
I'm not a UI expert, but the changes look fine so far. Code quality has been improved. Only a small amount of code duplication that could be avoided. I will test this now. |
On Qt4 I don't even notice any visual differences in Deere (all previous changes included). My only complaint is the small amount of duplicated code. |
Good catch, it was not only duplicated code It was redundant code. I have probably failed to remove it after moving the code. |
@uklotzde: ready for merge? |
Windows build failures seem to be unrelated. I did not notice the bugs in my personal setup and configuration, but I trust the other reviewers that the original issues have been fixed. The code improvements are some welcome added value. LGTM. |
This fixes https://bugs.launchpad.net/mixxx/+bug/1773709, and should help in
#1687
and
#1677