summaryrefslogtreecommitdiffstats
path: root/kmid
diff options
context:
space:
mode:
Diffstat (limited to 'kmid')
-rw-r--r--kmid/kmidclient.cpp2
-rw-r--r--kmid/midicfgdlg.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kmid/kmidclient.cpp b/kmid/kmidclient.cpp
index 88854444..a0088266 100644
--- a/kmid/kmidclient.cpp
+++ b/kmid/kmidclient.cpp
@@ -147,7 +147,7 @@ kmidClient::kmidClient(TQWidget *tqparent, KActionCollection *ac, const char *na
TQString samplefile =
KGlobal::dirs()->findAllResources("appdata", "fm/*.o3").last();
- samplefile.truncate(samplefile.tqfindRev('/'));
+ samplefile.truncate(samplefile.findRev('/'));
FMOut::setFMPatchesDirectory(TQFile::encodeName(samplefile));
m_kMid.pctlsmID=shmget(IPC_PRIVATE,sizeof(PlayerController),0666 | IPC_CREAT );
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);