summaryrefslogtreecommitdiffstats
path: root/libkmid/deviceman.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libkmid/deviceman.cc')
-rw-r--r--libkmid/deviceman.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkmid/deviceman.cc b/libkmid/deviceman.cc
index c8030f44e..07a0af9b2 100644
--- a/libkmid/deviceman.cc
+++ b/libkmid/deviceman.cc
@@ -119,7 +119,7 @@ DeviceManager::DeviceManager(int def)
TQString mapurl(config->readPathEntry("mapFilename"));
if ((config->readBoolEntry("useMidiMapper", false))&&(!mapurl.isEmpty()))
{
- mapper_tmp = new MidiMapper( mapurl.mid(mapurl.find(":")+1 ).local8Bit() );
+ mapper_tmp = new MidiMapper( mapurl.mid(mapurl.tqfind(":")+1 ).local8Bit() );
}
else
mapper_tmp = 0L;