diff options
Diffstat (limited to 'src/projects/k3bmusicbrainzjob.cpp')
-rw-r--r-- | src/projects/k3bmusicbrainzjob.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/projects/k3bmusicbrainzjob.cpp b/src/projects/k3bmusicbrainzjob.cpp index 09d59d1..2074cd2 100644 --- a/src/projects/k3bmusicbrainzjob.cpp +++ b/src/projects/k3bmusicbrainzjob.cpp @@ -152,9 +152,9 @@ 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 ), TQT_TQOBJECT(tqparent), name ), +// cannot use this as parent for the K3bSimpleJobHandler since this has not been constructed yet +K3bMusicBrainzJob::K3bMusicBrainzJob( TQWidget* parent, const char* name ) + : K3bJob( new K3bSimpleJobHandler( 0 ), TQT_TQOBJECT(parent), name ), m_canceled( false ) { m_trmThread = new TRMThread(); @@ -259,7 +259,7 @@ void K3bMusicBrainzJob::slotMbJobFinished( bool success ) 0, false, &ok, - dynamic_cast<TQWidget*>(tqparent()) ); + dynamic_cast<TQWidget*>(parent()) ); else s = resultStringsUnique.first(); |