[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE_3_2_BRANCH: kdegraphics/kghostview
From:       Luís Pedro Coelho <luis () luispedro ! org>
Date:       2004-01-30 19:16:47
Message-ID: 20040130191647.C91999976 () office ! kde ! org
[Download RAW message or body]

CVS commit by luis_pedro: 

Workaround kio bug (?) and restore network transparency.
(bug:69456 full discussion of the issue in the report). 

Patch from Andy Neitzke,
Thanks a lot.

CCMAIL: neitzke@fas.harvard.edu


  M +5 -1      kgv_view.cpp   1.172.2.1


--- kdegraphics/kghostview/kgv_view.cpp  #1.172:1.172.2.1
@@ -948,7 +948,11 @@ void KGVRun::foundMimeType( const QStrin
     if( m_job && m_job->inherits( "KIO::TransferJob" ) )
     {
+        /* The code below should be correct except for what seems to be a bug in kio.
+         * See bug:69456 for details
         KIO::TransferJob *job = static_cast< KIO::TransferJob* >( m_job );
         job->putOnHold();
         KIO::Scheduler::publishSlaveOnHold();
+        */
+        m_job->kill(true);
         m_job = 0;
     }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic