Skip to content

Commit

Permalink
Use 'auto' in src/core/gui/OpacityPreviewToolbox.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Hennion <17818041+bhennion@users.noreply.github.com>
  • Loading branch information
jerdoe and bhennion committed Oct 26, 2023
1 parent 3da5d10 commit 43f987c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/gui/OpacityPreviewToolbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,7 @@ void OpacityPreviewToolbox::resetEventBoxes() {
this->opacityPreviewToolbox.eventBox = this->eventBoxes.end();

this->updateColor();
const std::vector<std::unique_ptr<ColorToolItem>>& colorItems =
this->theMainWindow->getToolMenuHandler()->getColorToolItems();
const auto& colorItems = this->theMainWindow->getToolMenuHandler()->getColorToolItems();

int index = 0;

Expand Down

0 comments on commit 43f987c

Please sign in to comment.