Adjusted to latest TQVariant::TQVariant(bool) function.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/9/head
Michele Calgaro 5 years ago
parent 9b8b7c1299
commit da2e65cc1e
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -191,8 +191,6 @@ bool KMp3Plugin::readInfo(KFileMetaInfo &info, uint what)
break;
}
static const int dummy = 0; // TQVariant's bool constructor requires a dummy int value.
// CRC and Emphasis aren't yet implemented in TagLib (not that I think anyone cares)
appendItem(techgroup, "Version", version);
@ -201,8 +199,8 @@ bool KMp3Plugin::readInfo(KFileMetaInfo &info, uint what)
appendItem(techgroup, "Bitrate", file.audioProperties()->bitrate());
appendItem(techgroup, "Sample Rate", file.audioProperties()->sampleRate());
appendItem(techgroup, "Channels", file.audioProperties()->channels());
appendItem(techgroup, "Copyright", TQVariant(file.audioProperties()->isCopyrighted(), dummy));
appendItem(techgroup, "Original", TQVariant(file.audioProperties()->isOriginal(), dummy));
appendItem(techgroup, "Copyright", TQVariant(file.audioProperties()->isCopyrighted()));
appendItem(techgroup, "Original", TQVariant(file.audioProperties()->isOriginal()));
appendItem(techgroup, "Length", file.audioProperties()->length());
// appendItem(techgroup, "Emphasis", file.audioProperties()->empahsis());
}

Loading…
Cancel
Save