m_dialog->rootContext()->setContextProperty("request", this);
m_dialog->rootContext()->setContextProperty("rootDir",
QUrl::fromLocalFile(rootDir.absolutePath()));
rootDir.absolutePath());
m_dialog->setSource(webview);
}
-