summaryrefslogtreecommitdiffstats
path: root/src/kchmviewwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kchmviewwindow.cpp')
-rw-r--r--src/kchmviewwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kchmviewwindow.cpp b/src/kchmviewwindow.cpp
index b125d44..bc758bb 100644
--- a/src/kchmviewwindow.cpp
+++ b/src/kchmviewwindow.cpp
@@ -84,7 +84,7 @@ TQString KCHMViewWindow::makeURLabsolute ( const TQString & url, bool set_as_bas
m_base_url = newurl;
// and set up new baseurl
- int i = newurl.tqfindRev('/');
+ int i = newurl.findRev('/');
if ( i != -1 )
m_base_url = TQDir::cleanDirPath (newurl.left (i + 1));
}
@@ -305,7 +305,7 @@ void KCHMViewWindow::setTabKeeper( const TQString & link )
if ( m_newTabLinkKeeper[0] == '#' && !m_openedPage.isEmpty() )
{
// Clean up opened page URL
- int pos = m_openedPage.tqfind ('#');
+ int pos = m_openedPage.find ('#');
TQString fixedpath = pos == -1 ? m_openedPage : m_openedPage.left (pos);
m_newTabLinkKeeper = fixedpath + m_newTabLinkKeeper;
}