#include "viewmodel/displayString/FilenameDisplay.h" #include /*************************************************************************************************/ QString FilenameDisplay::provideString(const Log_ptr& log) const { if(log->src.has_value()) { return QFileInfo(log->src->filename).baseName(); } else { return ""; } }