fix maemo build with QT_USE_FAST_CONCATENATION

This commit is contained in:
Oswald Buddenhagen
2010-02-08 13:37:37 +01:00
parent 787787edee
commit 4c8a29357a

View File

@@ -48,7 +48,7 @@ namespace Internal {
QString homeDirOnDevice(const QString &uname)
{
const QString &dir = uname == QLatin1String("root")
? QLatin1String("/root")
? QString::fromLatin1("/root")
: QLatin1String("/home/") + uname;
qDebug("%s: user name %s is mapped to home dir %s",
Q_FUNC_INFO, qPrintable(uname), qPrintable(dir));