summaryrefslogtreecommitdiffstats
path: root/src/gui/s60framework
diff options
context:
space:
mode:
authormread <qt-info@nokia.com>2010-11-05 10:40:44 (GMT)
committerJoão Abecasis <joao.abecasis@nokia.com>2011-02-10 12:26:31 (GMT)
commit713eed0b830dc11c69adab3bc5a9b1b6b3814a18 (patch)
tree6ae3202707d633c75856ddffd9d4136419670282 /src/gui/s60framework
parent7322556ec759d25ead3d0ba26ebd44a82a574872 (diff)
downloadQt-713eed0b830dc11c69adab3bc5a9b1b6b3814a18.zip
Qt-713eed0b830dc11c69adab3bc5a9b1b6b3814a18.tar.gz
Qt-713eed0b830dc11c69adab3bc5a9b1b6b3814a18.tar.bz2
used official descriptor to QString conversion
The OpenFileL code now uses qt_TDesC2QString to convert from the TFileName to a QString. Task-number: QTBUG-15015 Reviewed-by: Shane Kearns
Diffstat (limited to 'src/gui/s60framework')
-rw-r--r--src/gui/s60framework/qs60maindocument.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/s60framework/qs60maindocument.cpp b/src/gui/s60framework/qs60maindocument.cpp
index 7114735..51a6ac9 100644
--- a/src/gui/s60framework/qs60maindocument.cpp
+++ b/src/gui/s60framework/qs60maindocument.cpp
@@ -129,7 +129,7 @@ void QS60MainDocument::OpenFileL(CFileStore *&aFileStore, RFile &aFile)
QFileOpenEvent* event = new QFileOpenEvent(aFile);
TFileName name;
aFile.FullName(name);
- QString qname((QChar*)name.Ptr(), name.Length());
+ QString qname = qt_TDesC2QString(name);
QFileOpenEvent* event = new QFileOpenEvent(qname);
}