diff options
Diffstat (limited to 'bibletime/backend/cswordmoduleinfo.cpp')
-rw-r--r-- | bibletime/backend/cswordmoduleinfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bibletime/backend/cswordmoduleinfo.cpp b/bibletime/backend/cswordmoduleinfo.cpp index 0b665d3..ebb0cc3 100644 --- a/bibletime/backend/cswordmoduleinfo.cpp +++ b/bibletime/backend/cswordmoduleinfo.cpp @@ -496,7 +496,7 @@ const TQString CSwordModuleInfo::config(const CSwordModuleInfo::ConfigEntry entr case AbsoluteDataPath: { TQString path( getSimpleConfigEntry("AbsoluteDataPath") ); - path.tqreplace(TQRegExp("/./"), "/"); // make /abs/path/./modules/ looking better + path.replace(TQRegExp("/./"), "/"); // make /abs/path/./modules/ looking better //make sure we have a trailing slash! if (path.right(1) != "/") { @@ -510,7 +510,7 @@ const TQString CSwordModuleInfo::config(const CSwordModuleInfo::ConfigEntry entr TQString path(getSimpleConfigEntry("DataPath")); if ((type() == CSwordModuleInfo::GenericBook) || (type() == CSwordModuleInfo::Lexicon)) { - int pos = path.tqfindRev("/"); //last slash in the string + int pos = path.findRev("/"); //last slash in the string if (pos != -1) { path = path.left(pos + 1); //include the slash |