Commit 2a3e7474 authored by C. Boemann's avatar C. Boemann
Browse files

This is no longer relevant as we are in the tool now (was moved here from words)

parent 0316bce8
......@@ -70,19 +70,6 @@ void SimpleLinksWidget::manageBookmarks()
}
delete dia;
KoBookmark *bookmark = manager->bookmark(name);
#if 0
KoShape *shape = bookmark->shape();
KoSelection *selection = canvasBase()->shapeManager()->selection();
selection->deselectAll();
selection->select(shape);
QString tool = KoToolManager::instance()->preferredToolForSelection(selection->selectedShapes());
KoToolManager::instance()->switchToolRequested(tool);
#else
#ifdef __GNUC__
#warning FIXME: port to textlayout-rework
#endif
#endif
KoCanvasResourceManager *rm = m_referenceTool->canvas()->resourceManager();
if ((bookmark->positionOnlyMode() == false) && bookmark->hasRange()) {
......
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