diff options
author | Ken Moore <moorekou@gmail.com> | 2015-09-11 12:11:31 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-09-11 12:11:31 -0400 |
commit | b89592dbae4325473fb0d91ed1f1b74fda97cd9c (patch) | |
tree | e261dfd6bfd2df9999abc15da87700807f6e196a /lumina-fm/widgets | |
parent | Merge branch 'master' of github.com:pcbsd/lumina (diff) | |
download | lumina-b89592dbae4325473fb0d91ed1f1b74fda97cd9c.tar.gz lumina-b89592dbae4325473fb0d91ed1f1b74fda97cd9c.tar.bz2 lumina-b89592dbae4325473fb0d91ed1f1b74fda97cd9c.zip |
Quick fix for an enumeration replacement: This same bug still exists in CQTreeWidgetItem (assumes the DirWidget::DetailTypes enumeration always matches the column ordering) - but since re-ordering the columns is not a user-configurable yet, this does not cause any problems at the moment (need to find a way to embed the column type into the QTreeWidgetItem - no easy way to get the correlation at teh moment within the CQTreeWidgetItem routine)
Diffstat (limited to 'lumina-fm/widgets')
-rw-r--r-- | lumina-fm/widgets/DirWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lumina-fm/widgets/DirWidget.cpp b/lumina-fm/widgets/DirWidget.cpp index 6e5c3941..441fe6f7 100644 --- a/lumina-fm/widgets/DirWidget.cpp +++ b/lumina-fm/widgets/DirWidget.cpp @@ -345,7 +345,7 @@ void DirWidget::LoadDir(QString dir, QList<LFileInfo> list){ { QStringList datetime_format = getDateFormat(); // Save datetime in WhatThis value. Lately will be used by CQTreeWidgetItem for sorting by date - it->setWhatsThis(DATEMOD, list[i].lastModified().toString("yyyyMMddhhmmsszzz")); + it->setWhatsThis(t, list[i].lastModified().toString("yyyyMMddhhmmsszzz")); // Default configurition. Fallback to Qt::DefaultLocaleShortDate for formats if(datetime_format.at(0).isEmpty() && datetime_format.at(1).isEmpty()) it->setText(t, list[i].lastModified().toString(Qt::DefaultLocaleShortDate) ); |