summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeslie Zhai <[email protected]>2017-06-12 11:38:22 +0800
committerLeslie Zhai <[email protected]>2017-06-12 11:38:22 +0800
commit81b4b37b9b580ac701a57c570c8eca58d1b33331 (patch)
tree546f122919495dad21d7561193d04c048d3a9718
parent54540c3099b87261c302991aa5693028b96c182f (diff)
Reproducebility race?
-rw-r--r--src/k3bemptydiscwaiter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/k3bemptydiscwaiter.cpp b/src/k3bemptydiscwaiter.cpp
index f983a17..12bac51 100644
--- a/src/k3bemptydiscwaiter.cpp
+++ b/src/k3bemptydiscwaiter.cpp
@@ -164,7 +164,8 @@ K3b::Device::MediaType K3b::EmptyDiscWaiter::waitForDisc( Device::MediaStates me
d->blockMediaChange = false;
d->mediumChanged = 0;
- if( message.isEmpty() )
+ // FIXME: reproducablitity race?
+ if (message.isEmpty())
d->labelRequest->setText( Medium::mediaRequestString( d->wantedMediaType, d->wantedMediaState, minMediaSize, d->device ) );
else
d->labelRequest->setText( message );