1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-28 03:32:27 +01:00

Remove redundant update call and enable debug.

This commit is contained in:
Teo Mrnjavac 2012-08-15 21:37:23 +02:00
parent 86bd7518c5
commit 7ca808a676
2 changed files with 4 additions and 5 deletions

View File

@ -109,13 +109,12 @@ AccountListWidget::insertEntries( const QModelIndex& parent, int start, int end
m_layout->insertWidget( i+j, entryAccounts.at( j ) );
updateEntry( idx );
for ( int j = 0; j < entryAccounts.length(); ++j )
{
entryAccounts[ j ]->update( idx, j );
entryAccounts[ j ]->setupConnections( idx, j );
}
}
}
void

View File

@ -32,10 +32,10 @@ AccountsPopupWidget::AccountsPopupWidget( QWidget* parent )
: QWidget( parent )
, m_widget( 0 )
{
setWindowFlags( Qt::FramelessWindowHint );
setWindowFlags( Qt::Popup );
//setWindowFlags( Qt::FramelessWindowHint );
//setWindowFlags( Qt::Popup );
//Uncomment this if using a debugger:
//setWindowFlags( Qt::Window );
setWindowFlags( Qt::Window );
setAutoFillBackground( false );
setAttribute( Qt::WA_TranslucentBackground, true );