summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'tdefile-plugins')
-rw-r--r--tdefile-plugins/mp3/tdefile_mp3.cpp6
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());
}