Browse Source

tags/2021-05-28
jules 17 years ago
parent
commit
3b1ba65de3
2 changed files with 8 additions and 3 deletions
  1. +2
    -1
      build/macosx/platform_specific_code/juce_mac_FileChooser.mm
  2. +6
    -2
      juce_amalgamated.cpp

+ 2
- 1
build/macosx/platform_specific_code/juce_mac_FileChooser.mm View File

@@ -84,7 +84,8 @@ static NSString* juceStringToNS (const JUCE_NAMESPACE::String& s)
return true;
}

return false;
return JUCE_NAMESPACE::File (JUCE_NAMESPACE::String::fromUTF8 ((const uint8*) filenameUTF8))
.isDirectory();
}
@end



+ 6
- 2
juce_amalgamated.cpp View File

@@ -68770,7 +68770,10 @@ void QuickTimeMovieComponent::setSpeed (const float newSpeed)
void QuickTimeMovieComponent::setMovieVolume (const float newVolume)
{
if (qtMovie != 0)
{
qtMovie->PutAudioVolume (newVolume);
qtMovie->PutAudioMute (newVolume <= 0);
}
}

float QuickTimeMovieComponent::getMovieVolume() const
@@ -240377,7 +240380,7 @@ public:
shouldDeactivateTitleBar = oldDeactivate;
}

void textInputRequired (int x, int y)
void textInputRequired (int /*x*/, int /*y*/)
{
if (! hasCreatedCaret)
{
@@ -255888,7 +255891,8 @@ static NSString* juceStringToNS (const JUCE_NAMESPACE::String& s)
return true;
}

return false;
return JUCE_NAMESPACE::File (JUCE_NAMESPACE::String::fromUTF8 ((const uint8*) filenameUTF8))
.isDirectory();
}
@end



Loading…
Cancel
Save