summaryrefslogtreecommitdiffstats
path: root/src/dolphincontextmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dolphincontextmenu.cpp')
-rw-r--r--src/dolphincontextmenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp
index be433ea..3c85b71 100644
--- a/src/dolphincontextmenu.cpp
+++ b/src/dolphincontextmenu.cpp
@@ -401,11 +401,11 @@ void DolphinContextMenu::insertActionItems(KPopupMenu* popup,
insert = true;
while (insert && ((item = mimeIt.current()) != 0)) {
const TQString mimeType((*mimeIt)->mimetype());
- const TQString mimeGroup(mimeType.left(mimeType.tqfind('/')));
+ const TQString mimeGroup(mimeType.left(mimeType.find('/')));
insert = (*it == mimeType) ||
((*it).right(1) == "*") &&
- ((*it).left((*it).tqfind('/')) == mimeGroup);
+ ((*it).left((*it).find('/')) == mimeGroup);
++mimeIt;
}
}