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

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

@ -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));

Loading…
Cancel
Save