aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/mediaplayer/mp_interface.cpp
diff options
context:
space:
mode:
authorGravatar Elvio Basello2009-07-01 17:24:13 +0000
committerGravatar Elvio Basello2009-07-01 17:24:13 +0000
commit74000a49e93dac9da64deda081b99e5b264642ad (patch)
treebaad8d6b243c654c12314b0c8b9655662a18c4e8 /src/modules/mediaplayer/mp_interface.cpp
parentsmall fix for previous commit (diff)
downloadKVIrc-74000a49e93dac9da64deda081b99e5b264642ad.tar.gz
KVIrc-74000a49e93dac9da64deda081b99e5b264642ad.tar.bz2
KVIrc-74000a49e93dac9da64deda081b99e5b264642ad.zip
improved hungarian notation;
added missing tooltips; removed uselss definition of KviQCString git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3297 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/mediaplayer/mp_interface.cpp')
-rw-r--r--src/modules/mediaplayer/mp_interface.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/mediaplayer/mp_interface.cpp b/src/modules/mediaplayer/mp_interface.cpp
index 452283478..fb108ee49 100644
--- a/src/modules/mediaplayer/mp_interface.cpp
+++ b/src/modules/mediaplayer/mp_interface.cpp
@@ -114,25 +114,25 @@ QString KviMediaPlayerInterface::amipEval(const QString &)
QString KviMediaPlayerInterface::artist()
{
SCAN_MP3_FILE
- return pCodec->toUnicode(KviQCString(mp3.id3.artist));
+ return pCodec->toUnicode(QByteArray(mp3.id3.artist));
}
QString KviMediaPlayerInterface::title()
{
SCAN_MP3_FILE
- return pCodec->toUnicode(KviQCString(mp3.id3.title));
+ return pCodec->toUnicode(QByteArray(mp3.id3.title));
}
QString KviMediaPlayerInterface::genre()
{
SCAN_MP3_FILE
- return pCodec->toUnicode(KviQCString(get_typegenre(mp3.id3.genre[0])));
+ return pCodec->toUnicode(QByteArray(get_typegenre(mp3.id3.genre[0])));
}
QString KviMediaPlayerInterface::comment()
{
SCAN_MP3_FILE
- return pCodec->toUnicode(KviQCString(mp3.id3.comment));
+ return pCodec->toUnicode(QByteArray(mp3.id3.comment));
}
QString KviMediaPlayerInterface::year()
@@ -144,7 +144,7 @@ QString KviMediaPlayerInterface::year()
QString KviMediaPlayerInterface::album()
{
SCAN_MP3_FILE
- return pCodec->toUnicode(KviQCString(mp3.id3.album));
+ return pCodec->toUnicode(QByteArray(mp3.id3.album));
}
bool KviMediaPlayerInterface::playMrl(const QString &)