1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00
This commit is contained in:
jules 2007-07-11 08:47:00 +00:00
parent 5faf4c5d63
commit e6c663e3b0

View file

@ -336,13 +336,13 @@ void FileBrowserComponent::selectionChanged()
sendListenerChangeMessage();
}
void FileBrowserComponent::fileClicked (const File&, const MouseEvent&)
void FileBrowserComponent::fileClicked (const File& f, const MouseEvent& e)
{
ComponentDeletionWatcher deletionWatcher (this);
for (int i = listeners.size(); --i >= 0;)
{
((FileBrowserListener*) listeners.getUnchecked (i))->fileClicked (file, e);
((FileBrowserListener*) listeners.getUnchecked (i))->fileClicked (f, e);
if (deletionWatcher.hasBeenDeleted())
return;