| 73 | } |
| 74 | |
| 75 | DetailsView::~DetailsView() |
| 76 | { |
| 77 | #ifndef NOT_USE_WEBENGINE |
| 78 | if (webView) { |
| 79 | webView->stop(); |
| 80 | // delete webView will cause app cannot exit. |
| 81 | webView->setParent(nullptr); |
| 82 | } |
| 83 | #endif |
| 84 | } |
| 85 | |
| 86 | void DetailsView::update(const dpf::PluginMetaObjectPointer &metaInfo) |
| 87 | { |