Fixed SANKORE-1017.

Аudio widget is not update button view.
preferencesAboutTextFull
Guillaume Burel 12 years ago
parent 8feabdb5b4
commit a17f31f3ce
  1. 1
      src/domain/UBGraphicsItemDelegate.cpp

@ -58,6 +58,7 @@ DelegateButton::DelegateButton(const QString & fileName, QGraphicsItem* pDelegat
{ {
setAcceptedMouseButtons(Qt::LeftButton); setAcceptedMouseButtons(Qt::LeftButton);
setData(UBGraphicsItemData::ItemLayerType, QVariant(UBItemLayerType::Control)); setData(UBGraphicsItemData::ItemLayerType, QVariant(UBItemLayerType::Control));
setCacheMode(QGraphicsItem::NoCache); /* because of SANKORE-1017: this allows pixmap to be refreshed when grabbing window, thus teacher screen is synchronized with main screen. */
} }
DelegateButton::~DelegateButton() DelegateButton::~DelegateButton()

Loading…
Cancel
Save