|
|
@ -405,12 +405,14 @@ void UBAbstractWidget::paintEvent(QPaintEvent * event) |
|
|
|
else |
|
|
|
else |
|
|
|
{ |
|
|
|
{ |
|
|
|
QPainter p(this); |
|
|
|
QPainter p(this); |
|
|
|
QString message; |
|
|
|
QString message = tr("Loading ..."); |
|
|
|
|
|
|
|
|
|
|
|
if (mLoadIsErronous) |
|
|
|
// this is the right way of doing but we receive two callback and the one return always that the
|
|
|
|
message = tr("Cannot load content"); |
|
|
|
// load as failed... to check
|
|
|
|
else |
|
|
|
// if (mLoadIsErronous)
|
|
|
|
message = tr("Loading ..."); |
|
|
|
// message = tr("Cannot load content");
|
|
|
|
|
|
|
|
// else
|
|
|
|
|
|
|
|
// message = tr("Loading ...");
|
|
|
|
|
|
|
|
|
|
|
|
p.setFont(QFont("Arial", 12)); |
|
|
|
p.setFont(QFont("Arial", 12)); |
|
|
|
|
|
|
|
|
|
|
|