equal
deleted
inserted
replaced
356 } else if ( mCurrentQuestion == ClearList ){ |
356 } else if ( mCurrentQuestion == ClearList ){ |
357 const bool favoriteMode = mFavoritesButton->isChecked(); |
357 const bool favoriteMode = mFavoritesButton->isChecked(); |
358 mModel->removeAll( favoriteMode ? RadioStationModel::RemoveFavorites : RadioStationModel::RemoveAll ); |
358 mModel->removeAll( favoriteMode ? RadioStationModel::RemoveFavorites : RadioStationModel::RemoveAll ); |
359 updateVisibilities(); |
359 updateVisibilities(); |
360 } else if ( mCurrentQuestion == DeleteStation ) { |
360 } else if ( mCurrentQuestion == DeleteStation ) { |
361 mModel->removeStation( mModel->currentStation() ); |
361 mModel->removeStation( *mSelectedStation ); |
362 } |
362 } |
363 |
363 |
364 mCurrentQuestion = NoQuestion; |
364 mCurrentQuestion = NoQuestion; |
365 } |
365 } |
366 |
366 |