diff options
Diffstat (limited to 'src/gvcore/thumbnailloadjob.cpp')
-rw-r--r-- | src/gvcore/thumbnailloadjob.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gvcore/thumbnailloadjob.cpp b/src/gvcore/thumbnailloadjob.cpp index c61e0d0..63b38e4 100644 --- a/src/gvcore/thumbnailloadjob.cpp +++ b/src/gvcore/thumbnailloadjob.cpp @@ -554,7 +554,7 @@ void ThumbnailLoadJob::determineNextIcon() { } if( mOriginalTime == 0 ) { // KIO must be used KIO::Job* job = KIO::stat(mCurrentURL,false); - job->setWindow(KApplication::kApplication()->mainWidget()); + job->setWindow(TDEApplication::kApplication()->mainWidget()); LOG( "KIO::stat orig " << mCurrentURL.url() ); addSubjob(job); } @@ -701,7 +701,7 @@ void ThumbnailLoadJob::checkThumbnail() { KURL url; url.setPath(mTempPath); KIO::Job* job=KIO::file_copy(mCurrentURL, url,-1,true,false,false); - job->setWindow(KApplication::kApplication()->mainWidget()); + job->setWindow(TDEApplication::kApplication()->mainWidget()); LOG("Download remote file " << mCurrentURL.prettyURL()); addSubjob(job); } @@ -711,7 +711,7 @@ void ThumbnailLoadJob::checkThumbnail() { KFileItemList list; list.append(mCurrentItem); KIO::Job* job=KIO::filePreview(list, mThumbnailSize); - job->setWindow(KApplication::kApplication()->mainWidget()); + job->setWindow(TDEApplication::kApplication()->mainWidget()); connect(job, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), this, TQT_SLOT(slotGotPreview(const KFileItem*, const TQPixmap&)) ); connect(job, TQT_SIGNAL(failed(const KFileItem*)), |