$NetBSD: patch-aa,v 1.2 2003/05/05 12:19:16 markd Exp $ --- kuser/mnt.cpp.orig 2002-09-16 09:07:31.000000000 +1200 +++ kuser/mnt.cpp @@ -98,10 +98,11 @@ Mounts::Mounts() { if (!CORRECT_FSTYPE((const char *)mt->mnt_fstype)) continue; - quotafilename = QString("%1%2%3") - .arg(mt->mnt_mountp) - .arg((mt->mnt_mountp[strlen(mt->mnt_mountp) - 1] == '/') ? "" : "/") - .arg(_KU_QUOTAFILENAME); + quotafilename = QString::fromLatin1("%1%2%3") + .arg(QString::fromLatin1(mt->mnt_mountp)) + .arg((mt->mnt_mountp[strlen(mt->mnt_mountp) - 1] == '/') ? + QString::null : QString::fromLatin1("/")) + .arg(QString::fromLatin1(_KU_QUOTAFILENAME)); #elif defined(BSD) while ((mt=getfsent()) != NULL) { if (strstr(mt->fs_mntops,"quota")==NULL)