summaryrefslogtreecommitdiffstats
path: root/kdirstat/kdirtree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdirstat/kdirtree.cpp')
-rw-r--r--kdirstat/kdirtree.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kdirstat/kdirtree.cpp b/kdirstat/kdirtree.cpp
index fd2ecb2..a4aafd2 100644
--- a/kdirstat/kdirtree.cpp
+++ b/kdirstat/kdirtree.cpp
@@ -859,7 +859,7 @@ KLocalDirReadJob::startReading()
struct stat statInfo;
TQString dirName = _dir->url();
- if ( ( _diskDir = opendir( dirName ) ) )
+ if ( ( _diskDir = opendir( dirName.local8Bit() ) ) )
{
_tree->sendProgressInfo( dirName );
_dir->setReadState( KDirReading );
@@ -873,7 +873,7 @@ KLocalDirReadJob::startReading()
{
TQString fullName = dirName + "/" + entryName;
- if ( lstat( fullName, &statInfo ) == 0 ) // lstat() OK
+ if ( lstat( fullName.local8Bit(), &statInfo ) == 0 ) // lstat() OK
{
if ( S_ISDIR( statInfo.st_mode ) ) // directory child?
{
@@ -957,7 +957,7 @@ KLocalDirReadJob::stat( const KURL & url,
{
struct stat statInfo;
- if ( lstat( url.path(), &statInfo ) == 0 ) // lstat() OK
+ if ( lstat( url.path().local8Bit(), &statInfo ) == 0 ) // lstat() OK
{
TQString name = parent ? url.filename() : url.path();