From: Karai C. <ck...@us...> - 2004-08-17 17:09:45
|
Update of /cvsroot/krusader/krusader_kde3/krusader/MountMan In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28257/krusader_kde3/krusader/MountMan Modified Files: kmountman.cpp Log Message: FIXED: internationalization bugs, illegal usage of QString::latin1() Index: kmountman.cpp =================================================================== RCS file: /cvsroot/krusader/krusader_kde3/krusader/MountMan/kmountman.cpp,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** kmountman.cpp 27 Jul 2004 22:32:26 -0000 1.29 --- kmountman.cpp 17 Aug 2004 17:03:39 -0000 1.30 *************** *** 375,379 **** #if defined(BSD) || defined(_OS_SOLARIS_) ! if ( name.left( 2 ) == "//" && !strcasecmp( followLink( it->name() ).latin1(), followLink( name ).latin1() ) ) break; // FreeBSD: ignore case due to smbfs mounts #endif --- 375,379 ---- #if defined(BSD) || defined(_OS_SOLARIS_) ! if ( name.left( 2 ) == "//" && !strcasecmp( followLink( it->name() ).local8Bit(), followLink( name ).local8Bit() ) ) break; // FreeBSD: ignore case due to smbfs mounts #endif *************** *** 599,603 **** KProcess mountProc; ! mountProc << KrServices::fullPathName( "mount" ) << mntPoint.latin1(); // connect all outputs to collectOutput, to be displayed later connect( &mountProc, SIGNAL( receivedStderr( KProcess*, char*, int ) ), --- 599,603 ---- KProcess mountProc; ! mountProc << KrServices::fullPathName( "mount" ) << mntPoint.local8Bit(); // connect all outputs to collectOutput, to be displayed later connect( &mountProc, SIGNAL( receivedStderr( KProcess*, char*, int ) ), *************** *** 639,646 **** if ( ro ) mountProc << "-r"; // read only ! mountProc << "-t" << p->type().latin1(); // latin1 == normal ascii if ( !p->options.isEmpty() ) mountProc << "-o" << p->options; // -o options ! mountProc << p->name().latin1() << p->mntPoint().latin1(); // don't allow mounting 'supermount' filesystems --- 639,646 ---- if ( ro ) mountProc << "-r"; // read only ! mountProc << "-t" << p->type().local8Bit(); // local8Bit == normal ascii if ( !p->options.isEmpty() ) mountProc << "-o" << p->options; // -o options ! mountProc << p->name().local8Bit() << p->mntPoint().local8Bit(); // don't allow mounting 'supermount' filesystems *************** *** 688,692 **** KProcess umountProc; umountProc << KrServices::fullPathName( "umount" ); ! umountProc << p->mntPoint().latin1(); // don't allow unmounting 'supermount' filesystems --- 688,692 ---- KProcess umountProc; umountProc << KrServices::fullPathName( "umount" ); ! umountProc << p->mntPoint().local8Bit(); // don't allow unmounting 'supermount' filesystems |