summaryrefslogtreecommitdiffstats
path: root/kmid/midicfgdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmid/midicfgdlg.cpp')
-rw-r--r--kmid/midicfgdlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmid/midicfgdlg.cpp b/kmid/midicfgdlg.cpp
index 0be88c72..7c26c295 100644
--- a/kmid/midicfgdlg.cpp
+++ b/kmid/midicfgdlg.cpp
@@ -105,7 +105,7 @@ void MidiConfigDialog::deviceselected(int idx)
void MidiConfigDialog::browseMap()
{
TQString path = KGlobal::dirs()->findAllResources("appdata", "maps/*.map").last();
- path.truncate(path.tqfindRev('/'));
+ path.truncate(path.findRev('/'));
KURL url = KFileDialog::getOpenURL(path,"*.map",this);