| 80 | } |
| 81 | |
| 82 | void GM_AddScriptDialog::accepted() |
| 83 | { |
| 84 | QString message = tr("Cannot install script"); |
| 85 | |
| 86 | if (m_manager->addScript(m_script)) { |
| 87 | message = tr("'%1' installed successfully").arg(m_script->name()); |
| 88 | } |
| 89 | |
| 90 | m_manager->showNotification(message); |
| 91 | } |
| 92 | |
| 93 | GM_AddScriptDialog::~GM_AddScriptDialog() |
| 94 | { |
nothing calls this directly
no test coverage detected