summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/mmf/utils.cpp
diff options
context:
space:
mode:
authorGareth Stockwell <gareth.stockwell@sosco.com>2009-09-07 16:30:53 (GMT)
committerGareth Stockwell <gareth.stockwell@sosco.com>2009-09-07 16:30:53 (GMT)
commitc4d341ecf26d63cc7410756f8f7d1926c277f02f (patch)
treeb22708e341e4a89dd597a1b5d67e23a6dd4d19d7 /src/3rdparty/phonon/mmf/utils.cpp
parent0ad37ee268f4a314ee31e70fc8b4acfc9aa46970 (diff)
downloadQt-c4d341ecf26d63cc7410756f8f7d1926c277f02f.zip
Qt-c4d341ecf26d63cc7410756f8f7d1926c277f02f.tar.gz
Qt-c4d341ecf26d63cc7410756f8f7d1926c277f02f.tar.bz2
Modified file-loading code to use QDir::toNativeSeparators
Diffstat (limited to 'src/3rdparty/phonon/mmf/utils.cpp')
-rw-r--r--src/3rdparty/phonon/mmf/utils.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/3rdparty/phonon/mmf/utils.cpp b/src/3rdparty/phonon/mmf/utils.cpp
index df9ceae..cebc32e 100644
--- a/src/3rdparty/phonon/mmf/utils.cpp
+++ b/src/3rdparty/phonon/mmf/utils.cpp
@@ -31,21 +31,6 @@ void MMF::Utils::panic(PanicCode code)
User::Panic(PanicCategory, code);
}
-QHBufC MMF::Utils::symbianFilename(const QString& qtFilename)
-{
- _LIT(ForwardSlash, "/");
- _LIT(BackwardSlash, "\\");
-
- QHBufC result(qtFilename);
- TInt pos = result->Find(ForwardSlash);
- while (pos != KErrNotFound) {
- result->Des().Replace(pos, 1, BackwardSlash);
- pos = result->Find(ForwardSlash);
- }
-
- return result;
-}
-
static const TInt KMimePrefixLength = 6; // either "audio/" or "video/"
_LIT(KMimePrefixAudio, "audio/");