From 05a5bac22f15ee0c09715393b735df7ebeb993dc 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 441221e..a82cd4a 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -184,6 +184,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);