[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/stable/extragear/multimedia/k3b/libk3b/jobs
From: Sebastian Trueg <sebastian () trueg ! de>
Date: 2008-04-29 7:44:21
Message-ID: 1209455061.366419.26393.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 802342 by trueg:
Always wait for the medium to verify to make sure the drive is ready
M +5 -5 k3bverificationjob.cpp
--- branches/stable/extragear/multimedia/k3b/libk3b/jobs/k3bverificationjob.cpp #802341:802342
@@ -161,13 +161,13 @@
}
-void K3bVerificationJob::slotMediaReloaded( bool success )
+void K3bVerificationJob::slotMediaReloaded( bool /*success*/ )
{
- if( !success )
+ // we always need to wait for the medium. Otherwise the diskinfo below
+ // may run before the drive is ready!
waitForMedia( d->device,
- K3bDevice::STATE_COMPLETE|K3bDevice::STATE_INCOMPLETE,
- K3bDevice::MEDIA_WRITABLE,
- i18n("Unable to Close the Tray") );
+ K3bDevice::STATE_COMPLETE|K3bDevice::STATE_INCOMPLETE,
+ K3bDevice::MEDIA_WRITABLE );
d->mediumHasBeenReloaded = true;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic