mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 22:26:32 +02:00
Remove redundant update call and enable debug.
This commit is contained in:
@@ -109,13 +109,12 @@ AccountListWidget::insertEntries( const QModelIndex& parent, int start, int end
|
|||||||
m_layout->insertWidget( i+j, entryAccounts.at( j ) );
|
m_layout->insertWidget( i+j, entryAccounts.at( j ) );
|
||||||
|
|
||||||
updateEntry( idx );
|
updateEntry( idx );
|
||||||
|
|
||||||
for ( int j = 0; j < entryAccounts.length(); ++j )
|
for ( int j = 0; j < entryAccounts.length(); ++j )
|
||||||
{
|
{
|
||||||
entryAccounts[ j ]->update( idx, j );
|
|
||||||
entryAccounts[ j ]->setupConnections( idx, j );
|
entryAccounts[ j ]->setupConnections( idx, j );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@@ -32,10 +32,10 @@ AccountsPopupWidget::AccountsPopupWidget( QWidget* parent )
|
|||||||
: QWidget( parent )
|
: QWidget( parent )
|
||||||
, m_widget( 0 )
|
, m_widget( 0 )
|
||||||
{
|
{
|
||||||
setWindowFlags( Qt::FramelessWindowHint );
|
//setWindowFlags( Qt::FramelessWindowHint );
|
||||||
setWindowFlags( Qt::Popup );
|
//setWindowFlags( Qt::Popup );
|
||||||
//Uncomment this if using a debugger:
|
//Uncomment this if using a debugger:
|
||||||
//setWindowFlags( Qt::Window );
|
setWindowFlags( Qt::Window );
|
||||||
|
|
||||||
setAutoFillBackground( false );
|
setAutoFillBackground( false );
|
||||||
setAttribute( Qt::WA_TranslucentBackground, true );
|
setAttribute( Qt::WA_TranslucentBackground, true );
|
||||||
|
Reference in New Issue
Block a user