From 019d48ef4ffbcbf368df49743819c03ee63cbb10 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 27 Jun 2011 06:21:30 +0000 Subject: [PATCH] Fix k3b Qt4 FTBFS git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1238465 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/projects/k3bmusicbrainzjob.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/projects/k3bmusicbrainzjob.cpp b/src/projects/k3bmusicbrainzjob.cpp index 3b1964b..162c662 100644 --- a/src/projects/k3bmusicbrainzjob.cpp +++ b/src/projects/k3bmusicbrainzjob.cpp @@ -154,7 +154,7 @@ void K3bMusicBrainzJob::MusicBrainzThread::run() // cannot use this as tqparent for the K3bSimpleJobHandler since this has not been constructed yet K3bMusicBrainzJob::K3bMusicBrainzJob( TQWidget* tqparent, const char* name ) - : K3bJob( new K3bSimpleJobHandler( 0 ), tqparent, name ), + : K3bJob( new K3bSimpleJobHandler( 0 ), TQT_TQOBJECT(tqparent), name ), m_canceled( false ) { m_trmThread = new TRMThread(); @@ -264,7 +264,7 @@ void K3bMusicBrainzJob::slotMbJobFinished( bool success ) s = resultStringsUnique.first(); if( ok ) { - int i = resultStrings.findIndex( s ); + int i = resultStrings.tqfindIndex( s ); m_tracks.current()->setTitle( m_mbThread->title(i) ); m_tracks.current()->setArtist( m_mbThread->artist(i) ); }