mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Fix grey background w hen breadcrumb adding/deleting is animating
This commit is contained in:
@@ -40,7 +40,6 @@ HeaderBreadCrumb::~HeaderBreadCrumb()
|
|||||||
|
|
||||||
void HeaderBreadCrumb::paintEvent(QPaintEvent *event)
|
void HeaderBreadCrumb::paintEvent(QPaintEvent *event)
|
||||||
{
|
{
|
||||||
|
|
||||||
QStylePainter p(this);
|
QStylePainter p(this);
|
||||||
StyleHelper::horizontalHeader(&p, event->rect());
|
StyleHelper::horizontalHeader(&p, rect());
|
||||||
}
|
}
|
||||||
|
@@ -40,15 +40,12 @@ SiblingCrumbButton::SiblingCrumbButton(
|
|||||||
|
|
||||||
setIndex(index);
|
setIndex(index);
|
||||||
connect(m_combo, SIGNAL(activated(int)), SLOT(comboboxActivated(int)));
|
connect(m_combo, SIGNAL(activated(int)), SLOT(comboboxActivated(int)));
|
||||||
|
|
||||||
// QTimer::singleShot(0, this, SLOT(activateSelf()));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SiblingCrumbButton::setIndex( QModelIndex index )
|
void SiblingCrumbButton::setIndex( QModelIndex index )
|
||||||
{
|
{
|
||||||
m_index = index;
|
m_index = index;
|
||||||
setText( index.data().toString() );
|
setText( index.data().toString() );
|
||||||
qDebug() << "i am " << text();
|
|
||||||
fillCombo();
|
fillCombo();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user