MCPcopy Create free account
hub / github.com/KDE/falkon / accepted

Method accepted

src/plugins/GreaseMonkey/gm_addscriptdialog.cpp:82–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void 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
93GM_AddScriptDialog::~GM_AddScriptDialog()
94{

Callers

nothing calls this directly

Calls 3

addScriptMethod · 0.80
nameMethod · 0.45
showNotificationMethod · 0.45

Tested by

no test coverage detected