mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Remove default cases from switches using enum class
This commit is contained in:
parent
9d7a554ab3
commit
1b4116db1a
@ -198,7 +198,11 @@ void ComicVineDialog::goBack()
|
|||||||
else
|
else
|
||||||
showSearchSingleComic();
|
showSearchSingleComic();
|
||||||
break;
|
break;
|
||||||
default:
|
|
||||||
|
case ScraperStatus::AskingForInfo:
|
||||||
|
case ScraperStatus::SearchingSingleComic:
|
||||||
|
case ScraperStatus::SearchingVolume:
|
||||||
|
case ScraperStatus::GettingVolumeComics:
|
||||||
if (mode == ScraperMode::Volume)
|
if (mode == ScraperMode::Volume)
|
||||||
showSearchVolume();
|
showSearchVolume();
|
||||||
else
|
else
|
||||||
@ -441,7 +445,11 @@ void ComicVineDialog::queryTimeOut()
|
|||||||
case ScraperStatus::GettingVolumeComics:
|
case ScraperStatus::GettingVolumeComics:
|
||||||
showSelectVolume();
|
showSelectVolume();
|
||||||
break;
|
break;
|
||||||
default:
|
|
||||||
|
case ScraperStatus::AskingForInfo:
|
||||||
|
case ScraperStatus::SelectingComic:
|
||||||
|
case ScraperStatus::SelectingSeries:
|
||||||
|
case ScraperStatus::SortingComics:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -562,7 +570,9 @@ void ComicVineDialog::search()
|
|||||||
case ScraperMode::Volume:
|
case ScraperMode::Volume:
|
||||||
launchSearchVolume();
|
launchSearchVolume();
|
||||||
break;
|
break;
|
||||||
default:
|
|
||||||
|
case ScraperMode::SingleComic:
|
||||||
|
case ScraperMode::SingleComicInList:
|
||||||
launchSearchComic();
|
launchSearchComic();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user