summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-27 15:41:48 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-27 15:41:48 +0000
commit1e5899409bedcb6152119615faff3cff60cfc383 (patch)
treef5ebfc45e4cc0d5fbfd035ff6b7a50223de955c4 /src
parent019d48ef4ffbcbf368df49743819c03ee63cbb10 (diff)
downloadk3b-1e5899409bedcb6152119615faff3cff60cfc383.tar.gz
k3b-1e5899409bedcb6152119615faff3cff60cfc383.zip
Fix k3b FTBFS under Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1238513 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src')
-rw-r--r--src/k3bmusicbrainz.cpp2
1 files changed, 1 insertions, 1 deletions
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<TQCString&>(trm).data();
args[1] = 0;
if( mb_QueryWithArgs( d->mb, (char*)MBQ_TrackInfoFromTRMId, (char**)args ) ) {