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

List:       kde-commits
Subject:    kdeextragear-1/k3b/src/mixed
From:       Sebastian Trueg <sebastian () trueg ! de>
Date:       2003-02-02 17:19:03
[Download RAW message or body]

CVS commit by trueg: 

do not try to get ms info in simulation mode


  M +13 -2     k3bmixedjob.cpp   1.20


--- kdeextragear-1/k3b/src/mixed/k3bmixedjob.cpp  #1.19:1.20
@@ -342,6 +342,17 @@ void K3bMixedJob::slotWriterFinished( bo
     m_doc->burner()->load();
 
+    if( m_doc->dummy() ) {
+      // do not try to get ms info in simulation mode since the cd is empty!
+      if( m_doc->onTheFly() ) {
+        m_isoImager->calculateSize();
+      }
+      else {
+        createIsoImage();
+      }
+    }
+    else {
     m_msInfoFetcher->setDevice( m_doc->burner() );
     m_msInfoFetcher->start();
+    }
   }
   else {


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

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