Fix compile warning and error in clang.

This commit is contained in:
Stephen Anthony 2020-11-23 17:39:43 -03:30
parent d309279852
commit 53f24729fd
2 changed files with 1 additions and 2 deletions

View File

@ -75,7 +75,7 @@ void FileListWidget::setLocation(const FilesystemNode& node,
{
progress().resetProgress();
progress().open();
class FilesystemNode::CancelCheck isCancelled = []() {
FilesystemNode::CancelCheck isCancelled = []() {
return myProgressDialog->isCancelled();
};

View File

@ -69,7 +69,6 @@ class FileListWidget : public StringListWidget
@param node The directory to display. If this is a file, its parent
will instead be used, and the file will be selected
@param select An optional entry to select (if applicable)
@param recursive Recursively list sub-directories too
*/
void setDirectory(const FilesystemNode& node,
const string& select = EmptyString);