Uninitialised variable, lead to crash under MacOSX.

NB: The semantics of the updateDisplay function seem wrong...
    maxHeight, and hence pixmap size will always lag by a function call.




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2353 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2010-02-17 19:48:59 +00:00
parent c692fba632
commit f1a056dd93

View File

@ -41,6 +41,7 @@ FileTransferInfoWidget::FileTransferInfoWidget(QWidget * parent, Qt::WFlags f )
{
QRect TaskGraphRect = geometry();
maxWidth = TaskGraphRect.width();
maxHeight = 0;
pixmap = QPixmap(size());
pixmap.fill(this, 0, 0);
@ -91,7 +92,6 @@ void FileTransferInfoWidget::updateDisplay()
draw(info,&painter) ;
}
pixmap2 = pixmap;
}