Commit f48c2af3 authored by Claudio Valerio's avatar Claudio Valerio

fixed issue 518 loading the freezed widget html page on widget creation

parent eff4dbad
......@@ -31,6 +31,8 @@
#include "board/UBBoardController.h"
#include "frameworks/UBPlatformUtils.h"
#include "ui_trapFlash.h"
#include "core/memcheck.h"
......@@ -201,6 +203,9 @@ void UBTrapFlashController::createWidget()
UBApplication::boardController->downloadURL(QUrl(selectedObject.source), QPoint(0, 0), QSize(selectedObject.width, selectedObject.height));
}
QString freezedWidgetPath = UBPlatformUtils::applicationResourcesDirectory() + "/etc/freezedWidgetWrapper.html";
mTrapFlashUi->webView->load(QUrl::fromLocalFile(freezedWidgetPath));
mTrapFlashDialog->hide();
}
......
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