summaryrefslogtreecommitdiffstats
path: root/ksim/ksimview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksim/ksimview.cpp')
-rw-r--r--ksim/ksimview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksim/ksimview.cpp b/ksim/ksimview.cpp
index 5624f54..e84ad7c 100644
--- a/ksim/ksimview.cpp
+++ b/ksim/ksimview.cpp
@@ -119,7 +119,7 @@ KSim::MainView::MainView(KConfig *config,
m_hostLabel->setText(i18n("Unknown"));
else {
TQCString host(hostName);
- int dotLocation = host.tqfind(".");
+ int dotLocation = host.find(".");
if (!m_config->displayFqdn() && dotLocation != -1)
host.truncate(dotLocation);