| 174 | } |
| 175 | |
| 176 | bool WizCodeEditorDialog::paste() |
| 177 | { |
| 178 | if (!g_instance) |
| 179 | return false; |
| 180 | if (QApplication::activeWindow() != g_instance) |
| 181 | return false; |
| 182 | |
| 183 | g_instance->m_codeBrowser->page()->triggerAction(QWebEnginePage::Paste); |
| 184 | // |
| 185 | return true; |
| 186 | } |
| 187 |
no test coverage detected