mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-03 03:30:06 +00:00
Cleaned up a few static analyser warnings.
This commit is contained in:
parent
7be8153f2d
commit
ffd894089d
4 changed files with 15 additions and 8 deletions
|
|
@ -242,10 +242,13 @@ bool MainWindow::shouldDropFilesWhenDraggedExternally (const DragAndDropTarget::
|
|||
{
|
||||
for (int i = selected.size(); --i >= 0;)
|
||||
{
|
||||
const File f (selected.getUnchecked(i)->getDraggableFile());
|
||||
if (JucerTreeViewBase* tv = selected.getUnchecked(i))
|
||||
{
|
||||
const File f (tv->getDraggableFile());
|
||||
|
||||
if (f.existsAsFile())
|
||||
files.add (f.getFullPathName());
|
||||
if (f.existsAsFile())
|
||||
files.add (f.getFullPathName());
|
||||
}
|
||||
}
|
||||
|
||||
canMoveFiles = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue