MCPcopy Create free account
hub / github.com/Palm1r/QodeAssist / openPluginFolder

Method openPluginFolder

settings/UpdateDialog.cpp:219–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219void UpdateDialog::openPluginFolder()
220{
221 const auto pluginSpecs = ExtensionSystem::PluginManager::plugins();
222 for (const ExtensionSystem::PluginSpec *spec : pluginSpecs) {
223 if (spec->name() == QLatin1String("QodeAssist")) {
224 const auto pluginPath = spec->filePath().path();
225 QFileInfo fileInfo(pluginPath);
226 QDesktopServices::openUrl(QUrl::fromLocalFile(fileInfo.absolutePath()));
227 break;
228 }
229 }
230 accept();
231}
232
233void UpdateDialog::openUpdaterReleasePage()
234{

Callers

nothing calls this directly

Calls 2

nameMethod · 0.45
filePathMethod · 0.45

Tested by

no test coverage detected