Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions res/skins/LateNight/style.qss
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,6 @@ WTime {
border-right: 1px solid #585858;
}

WSpinny {/*
This produces artifacts in spinny bg
background-color: rgba(1, 1, 1, 10);
This makes no difference, the spinny loads some default grey bg
background: none;*/
}

#VisualizationContainer {
border: 1px solid #585858;
border-top: 0px;
Expand Down
6 changes: 1 addition & 5 deletions res/skins/Tango/style.qss
Original file line number Diff line number Diff line change
Expand Up @@ -1907,10 +1907,6 @@ WTrackProperty#SamplerTitle_mini {
margin-right: 3px;
}

#SpinnyMini {
background-color: transparent;
}

/*################################################################
###### Preview Deck ##########################################
##############################################################*/
Expand Down Expand Up @@ -2338,7 +2334,7 @@ WLibrary QPushButton {
QPushButton#btnUnhide {
font-weight: bold;
}

/* 'Enable AutoDJ' button */
QPushButton#pushButtonAutoDJ:hover,
QPushButton#pushButtonRecording:hover,
Expand Down
5 changes: 1 addition & 4 deletions src/widget/wspinny.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,13 +318,10 @@ void WSpinny::render() {
&m_dGhostAngleCurrentPlaypos);
}

QStyleOption option;
option.initFrom(this);
QStylePainter p(this);
QPainter p(this);
p.setRenderHint(QPainter::Antialiasing);
p.setRenderHint(QPainter::HighQualityAntialiasing);
p.setRenderHint(QPainter::SmoothPixmapTransform);
p.drawPrimitive(QStyle::PE_Widget, option);

if (m_pBgImage) {
p.drawImage(rect(), *m_pBgImage, m_pBgImage->rect());
Expand Down