MCPcopy Create free account
hub / github.com/KDE/kdevelop / revokeAccess

Method revokeAccess

plugins/ghprovider/ghdialog.cpp:173–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173void Dialog::revokeAccess()
174{
175 QPointer<KPasswordDialog> dlg = new KPasswordDialog(this);
176 dlg->setPrompt(i18n("Please, write your password here."));
177 if(dlg->exec()) {
178 m_account->invalidate(dlg->password());
179 emit shouldUpdate();
180 close();
181 }
182 delete dlg;
183}
184
185} // End of namespace gh
186

Callers 1

invalidateMethod · 0.45

Calls 3

closeFunction · 0.85
execMethod · 0.80
invalidateMethod · 0.80

Tested by

no test coverage detected