summaryrefslogtreecommitdiffstats
path: root/kdirstat/kcleanup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdirstat/kcleanup.cpp')
-rw-r--r--kdirstat/kcleanup.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kdirstat/kcleanup.cpp b/kdirstat/kcleanup.cpp
index 146d7b9..a6e2694 100644
--- a/kdirstat/kcleanup.cpp
+++ b/kdirstat/kcleanup.cpp
@@ -36,7 +36,7 @@ KCleanup::KCleanup( TQString id,
: TDEAction( title,
0, // accel
parent,
- id )
+ id.utf8() )
, _id ( id )
, _command ( command )
@@ -312,9 +312,9 @@ KCleanup::expandVariables( const KFileInfo * item,
TQString expanded = unexpanded;
expanded.replace( TQRegExp( "%p" ),
- "\"" + TQString::fromLocal8Bit( item->url() ) + "\"" );
+ "\"" + item->url() + "\"" );
expanded.replace( TQRegExp( "%n" ),
- "\"" + TQString::fromLocal8Bit( item->name() ) + "\"" );
+ "\"" + item->name() + "\"" );
if ( KDE::versionMajor() >= 3 && KDE::versionMinor() >= 4 )
expanded.replace( TQRegExp( "%t" ), "trash:/" );