diff --git a/src/widgets/AccountListWidget.cpp b/src/widgets/AccountListWidget.cpp index 64e64abc1..0de405580 100644 --- a/src/widgets/AccountListWidget.cpp +++ b/src/widgets/AccountListWidget.cpp @@ -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 diff --git a/src/widgets/AccountsPopupWidget.cpp b/src/widgets/AccountsPopupWidget.cpp index 821f8c250..74cc3d4b1 100644 --- a/src/widgets/AccountsPopupWidget.cpp +++ b/src/widgets/AccountsPopupWidget.cpp @@ -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 );