diff options
author | Arno <am@disconnect.de> | 2011-02-20 10:35:19 +0100 |
---|---|---|
committer | Arno <am@disconnect.de> | 2011-02-20 10:35:19 +0100 |
commit | ef93566e66f5c9d52de72e654d4a7dff576f3c42 (patch) | |
tree | 75b9a7513878b7ad962d4f85246fe0adcf4c4049 /helper.cpp | |
parent | 23289ad65a1b06d3c3e9bbd4706ce75ce40c4b52 (diff) | |
download | SheMov-ef93566e66f5c9d52de72e654d4a7dff576f3c42.tar.gz SheMov-ef93566e66f5c9d52de72e654d4a7dff576f3c42.tar.bz2 SheMov-ef93566e66f5c9d52de72e654d4a7dff576f3c42.zip |
Show metadata in ArchiveView
Added a widget to display metadata beside actors and genres when
available
Diffstat (limited to 'helper.cpp')
-rw-r--r-- | helper.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -188,6 +188,12 @@ namespace Helper { return retval; } + const QString colorToHtml(const QColor &color){ + char colString[7]; + ::snprintf(colString, 7, "%0x%0x%0x", color.red(), color.green(), color.blue()); + return QString::fromAscii(colString); + } + bool SortFileInfoList::operator ()(const QFileInfo &lhs, const QFileInfo &rhs) const { return lhs.fileName().toLower() < rhs.fileName().toLower(); } |