From ef6485117bb3d7be00f5a4e917b0e7e4c6d06648 Mon Sep 17 00:00:00 2001 From: Albert S Date: Sat, 17 Aug 2019 14:46:30 +0200 Subject: [PATCH] mainwindow: show size of files --- gui/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 816f67f..1a9e110 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -179,6 +179,7 @@ void MainWindow::handleSearchResults(const QVector &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);