Fix k3b Qt4 FTBFS

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1238465 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent ed7614a958
commit 019d48ef4f

@ -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) );
}

Loading…
Cancel
Save