summaryrefslogtreecommitdiff
path: root/misc/kdeadmin3/patches/patch-aa
blob: ac56167b2fbbc3d420c1d64aca5d2d599bbd2845 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.4 2003/09/10 12:31:55 markd Exp $

--- kuser/mnt.cpp.orig	2003-07-14 07:22:05.000000000 +1200
+++ kuser/mnt.cpp
@@ -98,7 +98,7 @@ Mounts::Mounts() {
     if (!CORRECT_FSTYPE((const char *)mt->mnt_fstype))
       continue;
 
-    quotafilename = QString("%1%2%3")
+    quotafilename = QString::fromLatin1("%1%2%3")
                           .arg(QString::fromLatin1(mt->mnt_mountp))
                           .arg(QString::fromLatin1((mt->mnt_mountp[strlen(mt->mnt_mountp) - 1] == '/') ? "" : "/"))
                           .arg(QString::fromLatin1(_KU_QUOTAFILENAME));