--- a/radioapp/radiouiengine/src/radioscannerengine_p.cpp Fri Jun 11 13:38:32 2010 +0300
+++ b/radioapp/radiouiengine/src/radioscannerengine_p.cpp Wed Jun 23 18:12:57 2010 +0300
@@ -61,7 +61,10 @@
if ( reason == TuneReason::StationScanInitialization ) {
mUiEngine.wrapper().startSeeking( Seek::Up, TuneReason::StationScan );
} else if ( reason == TuneReason::StationScan ) {
- if ( frequency > mLastFoundFrequency ) {
+ if ( frequency == mLastFoundFrequency ) {
+ // Stop scanning
+ q->emitStationFound( RadioStation() );
+ } else if ( frequency > mLastFoundFrequency ) {
// Station has been found normally
mLastFoundFrequency = frequency;
addFrequencyAndReport( frequency );