UI: Fix case where cef func may not be present

Due to a particular... plugin we all know and love, the new
QCefWidget::executeJavascript() function may not actually be present as
it should be. So, we have to verify that it's available, and only use it
in that case.
This commit is contained in:
Lain
2023-08-05 04:35:31 -07:00
parent c946090203
commit 78cb2aa361
6 changed files with 12 additions and 8 deletions
+2
View File
@@ -1267,6 +1267,8 @@ public:
#endif
};
extern bool cef_js_avail;
class SceneRenameDelegate : public QStyledItemDelegate {
Q_OBJECT