| 217 | } |
| 218 | |
| 219 | void 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 | |
| 233 | void UpdateDialog::openUpdaterReleasePage() |
| 234 | { |