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