summaryrefslogtreecommitdiffstats
path: root/src/plugins/bearer/icd/dbusdispatcher.cpp
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-08-25 08:51:52 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-08-25 08:51:52 (GMT)
commitdf2e8fbe96fab8e034ab897b8a767b4a473b34ad (patch)
tree578716637feeaeffaca8908c62a7c350aeef8e22 /src/plugins/bearer/icd/dbusdispatcher.cpp
parent71bc8dc21687f1b15fc75a789f91753ace771b84 (diff)
parent02e2ff4597a7fe81ecbb4b1ef3c5e4a5ac6b7339 (diff)
downloadQt-df2e8fbe96fab8e034ab897b8a767b4a473b34ad.zip
Qt-df2e8fbe96fab8e034ab897b8a767b4a473b34ad.tar.gz
Qt-df2e8fbe96fab8e034ab897b8a767b4a473b34ad.tar.bz2
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-releng-team
* 'master' of git://scm.dev.nokia.troll.no/qt/qt-releng-team: (120 commits) Spelling fix Fixed lost flushes in raster window surface. Fix compilation of qjpeg on MinGW with GCC 4.6 uikit: Use correct pixmap data format. Correctly position aliased lines with flat caps Make the DBus timeout configurable in QDBusAbstractInterface. Fix non-ascii name issues in ICD. Compile fix for Symbian 5th and earlier Improve documentation for QDeclarativeView::setSource() fix copying webkit guide under windows Add a QApplication::queryKeyboardModifiers() method. Symbian: Fix backspace on empty lines of multiline textedits Handle CloseSoftwareInputPanel event in QCoeFepInputContext uikit: Fixes for Open GL ES 1 and for pre-3GS devices uikit: Fix warning. Use thumb instructions for uikit Fix compilation with thumb2. Update uikit README: svg works, warn about thumb Fix delayed password masking mid-string. Disabled splitscreen translation still moves screen ...
Diffstat (limited to 'src/plugins/bearer/icd/dbusdispatcher.cpp')
-rw-r--r--src/plugins/bearer/icd/dbusdispatcher.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/bearer/icd/dbusdispatcher.cpp b/src/plugins/bearer/icd/dbusdispatcher.cpp
index 60e4640..62dec62 100644
--- a/src/plugins/bearer/icd/dbusdispatcher.cpp
+++ b/src/plugins/bearer/icd/dbusdispatcher.cpp
@@ -195,7 +195,7 @@ static bool appendVariantToDBusMessage(const QVariant& argument,
break;
case QVariant::String: {
- QByteArray data = argument.toString().toLatin1();
+ QByteArray data = argument.toString().toUtf8();
str_data = data.data();
dbus_message_iter_append_basic(dbus_iter, DBUS_TYPE_STRING,
&str_data);
@@ -363,7 +363,7 @@ static QVariant getVariantFromDBusMessage(DBusMessageIter *iter) {
case DBUS_TYPE_STRING:
{
dbus_message_iter_get_basic(iter, &str_data);
- QString str(str_data);
+ QString str(QString::fromUtf8(str_data));
QVariant variant(str);
return variant;
}