update();
if( !isVisible() )
showPopup();
{
// we use timer to slow down the popup's show
// this makes popup appear nicer than just flashing when the new messages appears
QTimer *t = new QTimer( this );
connect( t, SIGNAL(timeout()), this, SLOT(showPopup()) );
t->start( 160, true );
}