From 7c7d3559f93c599e537e4fefa240f8c3147fe9fb Mon Sep 17 00:00:00 2001 From: Ivan Ilin Date: Mon, 13 Feb 2012 19:55:31 +0200 Subject: [PATCH] Sankore addW3CWidget creation path fixed --- src/board/UBBoardController.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/board/UBBoardController.cpp b/src/board/UBBoardController.cpp index f93fd2cc..72967adc 100644 --- a/src/board/UBBoardController.cpp +++ b/src/board/UBBoardController.cpp @@ -1793,7 +1793,7 @@ UBGraphicsWidgetItem *UBBoardController::addW3cWidget(const QUrl &pUrl, const QP newUrl = QUrl::fromLocalFile(UBPersistenceManager::persistenceManager()->addGraphicsWidgteToDocument(mActiveDocument, pUrl.toLocalFile(), uuid)); - w3cWidgetItem = mActiveScene->addW3CWidget(pUrl, pos); + w3cWidgetItem = mActiveScene->addW3CWidget(newUrl, pos); if (w3cWidgetItem) { w3cWidgetItem->setUuid(uuid); @@ -1810,8 +1810,6 @@ UBGraphicsWidgetItem *UBBoardController::addW3cWidget(const QUrl &pUrl, const QP } return 0; - - } void UBBoardController::cut()