summaryrefslogtreecommitdiff
path: root/plugingui
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui')
-rw-r--r--plugingui/resamplingframecontent.cc8
-rw-r--r--plugingui/resamplingframecontent.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/plugingui/resamplingframecontent.cc b/plugingui/resamplingframecontent.cc
index 92102e3..6026154 100644
--- a/plugingui/resamplingframecontent.cc
+++ b/plugingui/resamplingframecontent.cc
@@ -40,7 +40,7 @@ ResamplingframeContent::ResamplingframeContent(
this, &ResamplingframeContent::updateDrumkitSamplerate);
CONNECT(this, settings_notifier.samplerate,
this, &ResamplingframeContent::updateSessionSamplerate);
- CONNECT(this, settings_notifier.resamplig_recommended,
+ CONNECT(this, settings_notifier.resampling_recommended,
this, &ResamplingframeContent::updateResamplingRecommended);
text_field.move(0, 0);
@@ -61,7 +61,7 @@ void ResamplingframeContent::updateContent()
text_field.setText(
"Session samplerate: " + session_samplerate + "\n"
"Drumkit samplerate: " + drumkit_samplerate + "\n"
- "Resampling recommended: " + resamplig_recommended + "\n"
+ "Resampling recommended: " + resampling_recommended + "\n"
);
}
@@ -81,9 +81,9 @@ void ResamplingframeContent::updateSessionSamplerate(double samplerate)
updateContent();
}
-void ResamplingframeContent::updateResamplingRecommended(bool resamplig_recommended)
+void ResamplingframeContent::updateResamplingRecommended(bool resampling_recommended)
{
- this->resamplig_recommended = resamplig_recommended ? "Yes" : "No";
+ this->resampling_recommended = resampling_recommended ? "Yes" : "No";
updateContent();
}
diff --git a/plugingui/resamplingframecontent.h b/plugingui/resamplingframecontent.h
index b45f1ee..b5530c2 100644
--- a/plugingui/resamplingframecontent.h
+++ b/plugingui/resamplingframecontent.h
@@ -47,7 +47,7 @@ public:
void updateDrumkitSamplerate(std::size_t drumkit_samplerate);
void updateSessionSamplerate(double samplerate);
- void updateResamplingRecommended(bool resamplig_recommended);
+ void updateResamplingRecommended(bool resampling_recommended);
private:
TextEdit text_field{this};
@@ -56,7 +56,7 @@ private:
std::string drumkit_samplerate;
std::string session_samplerate;
- std::string resamplig_recommended;
+ std::string resampling_recommended;
};
} // GUI::