SkyGui.cpp   SkyGui.cpp 
skipping to change at line 246 skipping to change at line 246
{ {
animBottomBarTimeLine->setDirection(QTimeLine::Backward); animBottomBarTimeLine->setDirection(QTimeLine::Backward);
animBottomBarTimeLine->start(); animBottomBarTimeLine->start();
} }
} }
// Used to recompute the bars position when we toggle the gui off and on. // Used to recompute the bars position when we toggle the gui off and on.
// This was not necessary with Qt < 5.4. So it might be a bug. // This was not necessary with Qt < 5.4. So it might be a bug.
QVariant SkyGui::itemChange(GraphicsItemChange change, const QVariant & val ue) QVariant SkyGui::itemChange(GraphicsItemChange change, const QVariant & val ue)
{ {
#if QT_VERSION > QT_VERSION_CHECK(5, 5, 0)
#warning Please test if this code is still needed.
#endif
if (change == QGraphicsItem::ItemVisibleHasChanged && value.toBool() ) if (change == QGraphicsItem::ItemVisibleHasChanged && value.toBool() )
updateBarsPos(); updateBarsPos();
return QGraphicsItem::itemChange(change, value); return QGraphicsItem::itemChange(change, value);
} }
int SkyGui::getSkyGuiWidth() const int SkyGui::getSkyGuiWidth() const
{ {
return geometry().width(); return geometry().width();
} }
 End of changes. 1 change blocks. 
3 lines changed or deleted 0 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/