diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-05-26 19:12:50 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-05-26 19:12:50 +0900 |
commit | da2e65cc1e78c51eab347ff8896bd549ef15aff0 (patch) | |
tree | 2953028aabe0ab0d4a51a8cfb380d9462cb76904 /tdefile-plugins | |
parent | 9b8b7c129917f2813e5f412fe08b6a153ca05981 (diff) | |
download | tdemultimedia-da2e65cc1e78c51eab347ff8896bd549ef15aff0.tar.gz tdemultimedia-da2e65cc1e78c51eab347ff8896bd549ef15aff0.zip |
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdefile-plugins')
-rw-r--r-- | tdefile-plugins/mp3/tdefile_mp3.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tdefile-plugins/mp3/tdefile_mp3.cpp b/tdefile-plugins/mp3/tdefile_mp3.cpp index 2d0e0022..041e0313 100644 --- a/tdefile-plugins/mp3/tdefile_mp3.cpp +++ b/tdefile-plugins/mp3/tdefile_mp3.cpp @@ -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()); } |