shared: FileSaver: Print message for OK_WASEMPTY

This commit is contained in:
Albert S. 2022-06-24 17:42:55 +02:00
父節點 83ed935790
當前提交 614238edda
共有 1 個檔案被更改,包括 4 行新增0 行删除

查看文件

@ -87,6 +87,10 @@ int FileSaver::processFiles(const QVector<QString> paths, std::function<SaveFile
{
Logger::info() << "Saved" << path << Qt::endl;
}
else if(result == OK_WASEMPTY)
{
Logger::info() << "Saved (but content was empty)" << path << Qt::endl;
}
}
}
});