Skip to content

Commit

Permalink
Fix deprecated usage (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
czoido authored Aug 14, 2024
1 parent cae5765 commit f42cd8b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

## [Unreleased]

### Changed

- Fixed deprecated usage of `ActionUpdateThread.OLD_EDT` by overriding `getActionUpdateThread()`

## [2.0.5] - 2024-08-14

### Changed
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pluginGroup = com.jfrog.conan.clion
pluginName = Conan
pluginRepositoryUrl = https://github.com/conan-io/conan-clion-plugin/
# SemVer format -> https://semver.org
pluginVersion = 2.0.5
pluginVersion = 2.0.6

# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
pluginSinceBuild = 223
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ class MainActionToolbar(val project: Project) {
ConanExecutableDialogWrapper(project).showAndGet()
CMake(project).handleAdvancedSettings()
}

override fun getActionUpdateThread(): ActionUpdateThread {
return ActionUpdateThread.EDT
}
}
}

Expand All @@ -40,6 +44,10 @@ class MainActionToolbar(val project: Project) {
e.presentation.isEnabled = conanService.isPluginConfigured()
super.update(e)
}

override fun getActionUpdateThread(): ActionUpdateThread {
return ActionUpdateThread.EDT
}
}
}

Expand All @@ -57,6 +65,10 @@ class MainActionToolbar(val project: Project) {
e.presentation.isEnabled = conanService.isPluginConfigured()
super.update(e)
}

override fun getActionUpdateThread(): ActionUpdateThread {
return ActionUpdateThread.EDT
}
}
}

Expand Down

0 comments on commit f42cd8b

Please sign in to comment.