mainwindow: show size of files

このコミットが含まれているのは:
Albert S. 2019-08-17 14:46:30 +02:00
コミット 05a5bac22f
1個のファイルの変更1行の追加0行の削除

ファイルの表示

@ -184,6 +184,7 @@ void MainWindow::handleSearchResults(const QVector<SearchResult> &results)
item->setText(0, fileName);
item->setText(1, result.fileData.absPath);
item->setText(2, dt.toString(Qt::ISODate));
item->setText(3, this->locale().formattedDataSize(result.fileData.size));
if(result.fileData.absPath.endsWith(".pdf"))
{
this->pdfSearchResults.append(result);