make a workaround because we receive always two notifications instead of one

preferencesAboutTextFull
Claudio Valerio 12 years ago
parent 50a3bd9594
commit c6f2c32830
  1. 14
      src/domain/UBAbstractWidget.cpp

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

Loading…
Cancel
Save