diff options
author | Ken Moore <ken@ixsystems.com> | 2019-10-29 08:16:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-29 08:16:05 -0400 |
commit | bbf4e940ff2e1c257ffd78c10d85b3681eb72f46 (patch) | |
tree | 480c429c743606f09a837ebc652ca57a69c42119 /src-qt5/desktop-utils/lumina-fileinfo | |
parent | Merge pull request #705 from lbartoletti/shortcut_lumina_photo (diff) | |
parent | remove QSignalMapper. Use lambda func instead. (diff) | |
download | lumina-bbf4e940ff2e1c257ffd78c10d85b3681eb72f46.tar.gz lumina-bbf4e940ff2e1c257ffd78c10d85b3681eb72f46.tar.bz2 lumina-bbf4e940ff2e1c257ffd78c10d85b3681eb72f46.zip |
Merge pull request #706 from lbartoletti/fix_deprecated
Fix deprecated
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fileinfo')
-rw-r--r-- | src-qt5/desktop-utils/lumina-fileinfo/MainUI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/desktop-utils/lumina-fileinfo/MainUI.cpp b/src-qt5/desktop-utils/lumina-fileinfo/MainUI.cpp index c99a781e..df5b1170 100644 --- a/src-qt5/desktop-utils/lumina-fileinfo/MainUI.cpp +++ b/src-qt5/desktop-utils/lumina-fileinfo/MainUI.cpp @@ -143,7 +143,7 @@ void MainUI::SyncFileInfo(){ } ui->label_file_owner->setText(INFO->owner()); ui->label_file_group->setText(INFO->group()); - ui->label_file_created->setText( INFO->created().toString(Qt::SystemLocaleLongDate) ); + ui->label_file_created->setText( INFO->birthTime().toString(Qt::SystemLocaleLongDate) ); ui->label_file_modified->setText( INFO->lastModified().toString(Qt::SystemLocaleLongDate) ); //Get the file permissions QString perms; @@ -220,7 +220,7 @@ void MainUI::SyncZfsInfo(){ ui->tree_zfs_snaps->clear(); for(int i=0; i<snaps.length(); i++){ QFileInfo finfo(snaps[i].section("::::",1,-1)); - ui->tree_zfs_snaps->addTopLevelItem( new QTreeWidgetItem(QStringList() << snaps[i].section("::::",0,0) << finfo.created().toString(Qt::SystemLocaleShortDate) << finfo.lastModified().toString(Qt::SystemLocaleShortDate) ) ); + ui->tree_zfs_snaps->addTopLevelItem( new QTreeWidgetItem(QStringList() << snaps[i].section("::::",0,0) << finfo.birthTime().toString(Qt::SystemLocaleShortDate) << finfo.lastModified().toString(Qt::SystemLocaleShortDate) ) ); ui->tree_zfs_snaps->resizeColumnToContents(0); } ui->tree_zfs_snaps->setVisible(!snaps.isEmpty()); |