Commit c6f2c328 authored by Claudio Valerio's avatar Claudio Valerio

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

parent 50a3bd95
...@@ -405,12 +405,14 @@ void UBAbstractWidget::paintEvent(QPaintEvent * event) ...@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment