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

resolved path problem for freezedWidgetWrapper.html

preferencesAboutTextFull
Claudio Valerio 13 years ago
parent 1c2069ce73
commit d13106e5d2
  1. 3
      src/domain/UBW3CWidget.cpp

@ -29,7 +29,6 @@
#include "core/memcheck.h"
const QString freezedWidgetDefaultContentFilePath = "./etc/freezedWidgetWrapper.html";
bool UBW3CWidget::sTemplateLoaded = false;
QMap<QString, QString> UBW3CWidget::sNPAPIWrapperTemplates;
@ -426,6 +425,8 @@ QString UBW3CWidget::freezedWidgetPage()
static QString defaultcontent;
if (defaultcontent.isNull()) {
QString etcPath = UBPlatformUtils::applicationResourcesDirectory() + "/etc/";
QString freezedWidgetDefaultContentFilePath = etcPath + "freezedWidgetWrapper.html";
QFile wrapperFile(freezedWidgetDefaultContentFilePath);
if (!wrapperFile.open(QIODevice::ReadOnly | QIODevice::Text)) {
qDebug() << "can't open wrapper file " + freezedWidgetDefaultContentFilePath;

Loading…
Cancel
Save