Show the automatic volume text that is going to be used in comic vine dialog

The user can chose to use it or edit it before starting the search.
This commit is contained in:
Luis Ángel San Martín
2022-08-18 14:35:25 +02:00
parent 160604040e
commit 8b4b586acc
4 changed files with 13 additions and 11 deletions

View File

@ -30,7 +30,12 @@ void SearchVolume::clean()
volumeEdit->clear();
}
QString SearchVolume::getVolumeInfo()
void SearchVolume::setVolumeInfo(const QString &volume)
{
volumeEdit->setText(volume);
}
QString SearchVolume::getVolumeInfo() const
{
return volumeEdit->text();
}