Commit bb359778 authored by Scott Wheeler's avatar Scott Wheeler

Oops -- I removed the initializers since I was planning on removing the

QFileInfo thing from here, but then didn't actually get around to removing it.
Make cache restoration work again...

svn path=/trunk/kdemultimedia/juk/; revision=294274
parent 8868775f
......@@ -192,6 +192,7 @@ CacheDataStream &Tag::read(CacheDataStream &s)
////////////////////////////////////////////////////////////////////////////////
Tag::Tag(const QString &file) :
m_info(file),
m_fileName(file),
m_track(0),
m_year(0),
......@@ -202,6 +203,7 @@ Tag::Tag(const QString &file) :
}
Tag::Tag(const QString &fileName, TagLib::File *file) :
m_info(fileName),
m_fileName(fileName)
{
m_title = TStringToQString(file->tag()->title()).stripWhiteSpace();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment