diff options
Diffstat (limited to 'src/libraries/qmfclient/support/qcopchannel.cpp')
-rw-r--r-- | src/libraries/qmfclient/support/qcopchannel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libraries/qmfclient/support/qcopchannel.cpp b/src/libraries/qmfclient/support/qcopchannel.cpp index b50a6e81..2e1d67af 100644 --- a/src/libraries/qmfclient/support/qcopchannel.cpp +++ b/src/libraries/qmfclient/support/qcopchannel.cpp @@ -52,7 +52,7 @@ QCopServerRegexp::QCopServerRegexp(const QString& ch, QCopClient *cl) : channel(ch), client(cl) { - if (ch.endsWith(QChar('*')) && ch.count(QChar('*')) == 1) { + if (ch.endsWith(QChar::fromLatin1('*')) && ch.count(QChar::fromLatin1('*')) == 1) { prefixMatch = ch.length() - 1; } else { prefixMatch = 0; @@ -86,7 +86,7 @@ QCopServerRegexpList::~QCopServerRegexpList() // Determine if a channel name contains wildcard characters. static inline bool containsWildcards(const QString& channel) { - return channel.contains(QChar('*')); + return channel.contains(QChar::fromLatin1('*')); } #ifndef QT_NO_THREAD @@ -1096,7 +1096,7 @@ void QCopClient::disconnectFromServer() QString QCopThreadData::socketPath() { //return (Qtopia::inline tempDir() + "qcop-server").toUtf8(); - return "qcop-server-0"; + return QString::fromLatin1("qcop-server-0"); } #else |