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

List:       kde-commits
Subject:    extragear/multimedia/k3b/src/projects
From:       Sebastian Trueg <sebastian () trueg ! de>
Date:       2006-02-22 17:11:59
Message-ID: 1140628319.923892.14053.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 512492 by trueg:

recheck for media if the project changes.


 M  +8 -1      k3bfillstatusdisplay.cpp  


--- trunk/extragear/multimedia/k3b/src/projects/k3bfillstatusdisplay.cpp \
#512491:512492 @@ -633,7 +633,9 @@
     for( QPtrListIterator<K3bDevice::Device> it( devs ); *it; ++it ) {
       const K3bMedium& medium = k3bappcore->mediaCache()->medium( *it );
 
-      if( ( medium.diskInfo().empty() || medium.diskInfo().appendable() || \
(medium.diskInfo().rewritable() && medium.diskInfo().isDvdMedia()) ) && +      if( ( \
medium.diskInfo().empty() ||  +	    medium.diskInfo().appendable() || 
+	    (medium.diskInfo().rewritable() && medium.diskInfo().isDvdMedia()) ) &&
 	  ( medium.diskInfo().isDvdMedia() == d->showDvdSizes ) &&
 	  d->doc->length() <= medium.diskInfo().capacity() ) {
 
@@ -681,6 +683,11 @@
     d->displayWidget->update();
     d->updateTimer.start( 2000, false );
   }
+
+  //
+  // also update the medium list in case the docs size exceeds the capacity
+  //
+  slotMediumChanged( 0 );
 }
 
 #include "k3bfillstatusdisplay.moc"


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

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