Hot fix to Sankore-743.

preferencesAboutTextFull
Aleksei Kanash 12 years ago
parent 998efbd070
commit 47923e9e43
  1. 6
      src/adaptors/UBSvgSubsetAdaptor.cpp

@ -891,7 +891,11 @@ UBGraphicsScene* UBSvgSubsetAdaptor::UBSvgSubsetReader::loadScene()
{
UBGraphicsTextItem* textItem = textItemFromSvg();
UBGraphicsTextItemDelegate *textDelegate = dynamic_cast<UBGraphicsTextItemDelegate*>(textItem->Delegate());
UBGraphicsTextItemDelegate *textDelegate = 0;
if (textItem)
textDelegate = dynamic_cast<UBGraphicsTextItemDelegate*>(textItem->Delegate());
if (textDelegate)
{
QDesktopWidget* desktop = UBApplication::desktop();

Loading…
Cancel
Save