mirror of
https://codeberg.org/armin/monoslicer.git
synced 2026-09-01 04:10:45 +02:00
Fix all compilation warnings
- Fix float-to-int conversions in WaveformDisplay::paint setBounds - Fix implicit int-to-float conversion in mousePressed key row calc - Remove unused variables in mouseWheelMove - Replace deprecated DirectoryIterator with RangedDirectoryIterator - Suppress JUCE/VST3 SDK warnings via CMAKE_CXX_FLAGS
This commit is contained in:
parent
6e220a60f4
commit
8dc07d2568
3 changed files with 11 additions and 11 deletions
|
|
@ -510,10 +510,9 @@ void MonoSlicerProcessor::refreshFolderList()
|
|||
if (!currentFile.existsAsFile()) return;
|
||||
|
||||
auto dir = currentFile.getParentDirectory();
|
||||
juce::DirectoryIterator iter(dir, false, "*.wav;*.aiff;*.flac;*.ogg");
|
||||
while (iter.next())
|
||||
for (const auto& entry : juce::RangedDirectoryIterator(dir, false, "*.wav;*.aiff;*.flac;*.ogg"))
|
||||
{
|
||||
auto f = iter.getFile();
|
||||
auto f = entry.getFile();
|
||||
if (f.existsAsFile())
|
||||
{
|
||||
folderFiles.add(f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue