diff options
Diffstat (limited to 'knewstuff')
-rw-r--r-- | knewstuff/provider.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/knewstuff/provider.cpp b/knewstuff/provider.cpp index c1d12853c..3c4018a13 100644 --- a/knewstuff/provider.cpp +++ b/knewstuff/provider.cpp @@ -259,7 +259,7 @@ void ProviderLoader::slotJobData( KIO::Job *, const TQByteArray &data ) void ProviderLoader::slotJobResult( KIO::Job *job ) { if ( job->error() ) { - job->showErrorDialog( static_cast<TQWidget *>(parent()) ); + job->showErrorDialog( TQT_TQWIDGET(parent()) ); } kdDebug() << "--PROVIDERS-START--" << endl << mJobData << "--PROV_END--" @@ -267,7 +267,7 @@ void ProviderLoader::slotJobResult( KIO::Job *job ) TQDomDocument doc; if ( !doc.setContent( mJobData ) ) { - KMessageBox::error( static_cast<TQWidget *>(parent()), i18n("Error parsing providers list.") ); + KMessageBox::error( TQT_TQWIDGET(parent()), i18n("Error parsing providers list.") ); return; } |