summaryrefslogtreecommitdiffstats
path: root/kontact/src/profilemanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/src/profilemanager.cpp')
-rw-r--r--kontact/src/profilemanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kontact/src/profilemanager.cpp b/kontact/src/profilemanager.cpp
index deed6f37a..005779414 100644
--- a/kontact/src/profilemanager.cpp
+++ b/kontact/src/profilemanager.cpp
@@ -152,7 +152,7 @@ void Kontact::ProfileManager::writeConfig() const
Kontact::Profile Kontact::ProfileManager::readFromConfiguration( const TQString& configFile, bool isLocal )
{
KConfig profileCfg( configFile, true /*read-only*/, false /*no KDE global*/ );
- const TQString configDir = configFile.left( configFile.findRev( TQDir::separator(), -1 ) );
+ const TQString configDir = configFile.left( configFile.tqfindRev( TQDir::separator(), -1 ) );
profileCfg.setGroup( "Kontact Profile" );
const TQString id = profileCfg.readEntry( "Identifier" );
Kontact::Profile profile( id );