summaryrefslogtreecommitdiffstats
path: root/kdeui/kfontcombo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeui/kfontcombo.cpp')
-rw-r--r--kdeui/kfontcombo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdeui/kfontcombo.cpp b/kdeui/kfontcombo.cpp
index 173b08cff..e62360521 100644
--- a/kdeui/kfontcombo.cpp
+++ b/kdeui/kfontcombo.cpp
@@ -212,7 +212,7 @@ void KFontCombo::setCurrentFont(const TQString &family)
return;
}
}
- int x = lowerName.tqfind(" [");
+ int x = lowerName.find(" [");
if (x>-1)
{
lowerName = lowerName.left(x);
@@ -251,7 +251,7 @@ void KFontCombo::setCurrentFont(const TQString &family)
FcConfigSubstitute (config, pattern, FcMatchPattern);
pattern = FcFontMatch(NULL, pattern, NULL);
realFamily = (char*)FcNameUnparse(pattern);
- realFamily.remove(realFamily.tqfind(regExp), realFamily.length());
+ realFamily.remove(realFamily.find(regExp), realFamily.length());
if ( !realFamily.isEmpty() && realFamily != family )
setCurrentFont( realFamily );