From 1e5899409bedcb6152119615faff3cff60cfc383 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 27 Jun 2011 15:41:48 +0000 Subject: [PATCH] Fix k3b FTBFS under Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1238513 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/k3bmusicbrainz.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/k3bmusicbrainz.cpp b/src/k3bmusicbrainz.cpp index 6fd9d9e..a2b0f54 100644 --- a/src/k3bmusicbrainz.cpp +++ b/src/k3bmusicbrainz.cpp @@ -62,7 +62,7 @@ int K3bMusicBrainz::query( const TQCString& trm ) } char* args[2]; - args[0] = trm.data(); + args[0] = const_cast(trm).data(); args[1] = 0; if( mb_QueryWithArgs( d->mb, (char*)MBQ_TrackInfoFromTRMId, (char**)args ) ) {