diff options
author | lbartoletti <l.bartoletti@free.fr> | 2019-10-22 21:35:23 +0200 |
---|---|---|
committer | lbartoletti <l.bartoletti@free.fr> | 2019-10-22 21:35:23 +0200 |
commit | 1b89b87b7862c77b1161152dfd700b7bb9ec0527 (patch) | |
tree | 219ab9cac366234148df98c0de499a69ac54b69c /src-qt5/desktop-utils/lumina-fm/BrowserModel.cpp | |
parent | fix setTabStopWidth -> setTabStopDistance (diff) | |
download | lumina-1b89b87b7862c77b1161152dfd700b7bb9ec0527.tar.gz lumina-1b89b87b7862c77b1161152dfd700b7bb9ec0527.tar.bz2 lumina-1b89b87b7862c77b1161152dfd700b7bb9ec0527.zip |
fix warning: 'created' is deprecated: Use either birthTime() or metadataChangeTime() final round
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm/BrowserModel.cpp')
-rw-r--r-- | src-qt5/desktop-utils/lumina-fm/BrowserModel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm/BrowserModel.cpp b/src-qt5/desktop-utils/lumina-fm/BrowserModel.cpp index d79da006..aeb65bae 100644 --- a/src-qt5/desktop-utils/lumina-fm/BrowserModel.cpp +++ b/src-qt5/desktop-utils/lumina-fm/BrowserModel.cpp @@ -75,7 +75,7 @@ QVariant BrowserModel::data(const QModelIndex &index, int role) const{ else if(index.column()==1){ return QVariant(info->fileSize()); } else if(index.column()==2){ return QVariant(info->mimetype()); } else if(index.column()==3){ return QVariant(info->lastModified()->toString(Qt::DefaultLocaleShortDate)); } - else if(index.column()==4){ return QVariant(info->created()->toString(Qt::DefaultLocaleShortDate)); } + else if(index.column()==4){ return QVariant(info->birthTime()->toString(Qt::DefaultLocaleShortDate)); } case Qt::ToolTipRole: return QVariant(info->absoluteFilePath()); case Qt::StatusTipRole: |