Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/cc68474a7802453bd4ddd07bbfabba77aa27aae9?style=split&whitespace=ignore-all You should set ROOT_URL correctly, otherwise the web may not work correctly.

Segfault when quitting after tool widget deletion fixed.

Fix is obvious but it probably hides something.
preferencesAboutTextFull
Yimgo 13 years ago
parent d8d0535843
commit cc68474a78
  1. 4
      src/frameworks/UBCoreGraphicsScene.cpp

@ -32,7 +32,7 @@ UBCoreGraphicsScene::~UBCoreGraphicsScene()
//we must delete removed items that are no more in any scene //we must delete removed items that are no more in any scene
foreach (const QGraphicsItem* item, mItemsToDelete) foreach (const QGraphicsItem* item, mItemsToDelete)
{ {
if (item->scene()==NULL || item->scene() == this) if (item && (item->scene() == NULL || item->scene() == this))
{ {
delete item; delete item;
} }
@ -61,6 +61,7 @@ void UBCoreGraphicsScene::removeItem(QGraphicsItem* item, bool forceDelete)
{ {
mItemsToDelete.remove(item); mItemsToDelete.remove(item);
delete item; delete item;
item = 0;
} }
} }
@ -84,6 +85,7 @@ bool UBCoreGraphicsScene::deleteItem(QGraphicsItem* item)
mItemsToDelete.remove(item); mItemsToDelete.remove(item);
delete item; delete item;
item = 0;
return true; return true;
} }
else else

Loading…
Cancel
Save