mainwindow: show size of files
This commit is contained in:
부모
9c40dfea0d
커밋
ef6485117b
@ -179,6 +179,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);
|
||||
|
불러오는 중...
Reference in New Issue
Block a user