summaryrefslogtreecommitdiffstats
path: root/kdirstat/kdirsaver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdirstat/kdirsaver.cpp')
-rw-r--r--kdirstat/kdirsaver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdirstat/kdirsaver.cpp b/kdirstat/kdirsaver.cpp
index 2f1b79d..f86596b 100644
--- a/kdirstat/kdirsaver.cpp
+++ b/kdirstat/kdirsaver.cpp
@@ -49,7 +49,7 @@ KDirSaver::cd( const TQString & newPath )
{
if ( ! newPath.isEmpty() )
{
- chdir( newPath );
+ chdir( newPath.local8Bit() );
}
}
@@ -64,7 +64,7 @@ KDirSaver::currentDirPath() const
void
KDirSaver::restore()
{
- chdir( oldWorkingDir.path() );
+ chdir( oldWorkingDir.path().local8Bit() );
}