From 7c4189396804b258f30219c3ea854b07c1251692 Mon Sep 17 00:00:00 2001 From: Setsugennoao <41454651+Setsugennoao@users.noreply.github.com> Date: Wed, 5 Apr 2023 22:46:42 +0200 Subject: [PATCH] Fix compiler warning --- src/wobbly/WobblyWindow.cpp | 4 ++-- src/wobbly/WobblyWindow.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wobbly/WobblyWindow.cpp b/src/wobbly/WobblyWindow.cpp index 0d20910..bae89bf 100644 --- a/src/wobbly/WobblyWindow.cpp +++ b/src/wobbly/WobblyWindow.cpp @@ -5424,11 +5424,11 @@ void WobblyWindow::setMatchAndDecimationPatterns() { } -void WobblyWindow::updateSectionOrphanFrames(int current_frame) { +void WobblyWindow::updateSectionOrphanFrames(int frame) { if (!project) return; - const Section *section = project->findSection(current_frame); + const Section *section = project->findSection(frame); updateSectionOrphanFrames(section); } diff --git a/src/wobbly/WobblyWindow.h b/src/wobbly/WobblyWindow.h index cf52d1a..3d29237 100644 --- a/src/wobbly/WobblyWindow.h +++ b/src/wobbly/WobblyWindow.h @@ -443,7 +443,7 @@ public slots: void setDecimationPattern(); void setMatchAndDecimationPatterns(); - void updateSectionOrphanFrames(int current_frame); + void updateSectionOrphanFrames(int frame); void updateSectionOrphanFrames(const Section *section); void guessCurrentSectionPatternsFromMics();