summaryrefslogtreecommitdiffstats
path: root/kopete/kopete/chatwindow/kopetechatwindowstyle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/kopete/chatwindow/kopetechatwindowstyle.cpp')
-rw-r--r--kopete/kopete/chatwindow/kopetechatwindowstyle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kopete/kopete/chatwindow/kopetechatwindowstyle.cpp b/kopete/kopete/chatwindow/kopetechatwindowstyle.cpp
index 646b8259..1bc64959 100644
--- a/kopete/kopete/chatwindow/kopetechatwindowstyle.cpp
+++ b/kopete/kopete/chatwindow/kopetechatwindowstyle.cpp
@@ -157,7 +157,7 @@ void ChatWindowStyle::listVariants()
{
TQString variantName = *it, variantPath;
// Retrieve only the file name.
- variantName = variantName.left(variantName.tqfindRev("."));
+ variantName = variantName.left(variantName.findRev("."));
// variantPath is relative to baseHref.
variantPath = TQString("Variants/%1").tqarg(*it);
d->variantsList.insert(variantName, variantPath);