LibGUI: Replace fprintf(stderr)/printf() with warnln()/dbgln()

This commit is contained in:
Linus Groh 2021-05-31 15:05:29 +01:00
commit a4bd29828c
Notes: sideshowbarker 2024-07-18 17:06:49 +09:00
2 changed files with 4 additions and 4 deletions

View file

@ -93,7 +93,7 @@ void FileSystemModel::Node::traverse_if_needed()
Core::DirIterator di(full_path, m_model.should_show_dotfiles() ? Core::DirIterator::SkipParentAndBaseDir : Core::DirIterator::SkipDots);
if (di.has_error()) {
m_error = di.error();
fprintf(stderr, "DirIterator: %s\n", di.error_string());
warnln("DirIterator: {}", di.error_string());
return;
}