Try to always get some description for single volume issues

If the issue doesn't have a description it will get the volume description.
This commit is contained in:
Luis Ángel San Martín
2025-05-04 21:50:36 +02:00
parent e7652355de
commit e5f02bebe5
9 changed files with 83 additions and 40 deletions

View File

@ -2,6 +2,7 @@
#define SELECT_VOLUME_H
#include "scraper_selector.h"
#include "selected_volume_info.h"
class QLabel;
class VolumesModel;
@ -26,9 +27,7 @@ public slots:
void loadVolumeInfo(const QModelIndex &mi);
void setCover(const QByteArray &);
void setDescription(const QString &jsonDetail);
QString getSelectedVolumeId();
int getSelectedVolumeNumIssues();
QString getSelectedVolumePublisher();
SelectedVolumeInfo getSelectedVolumeInfo();
private:
QLabel *cover;
@ -37,6 +36,7 @@ private:
VolumesModel *model;
QSortFilterProxyModel *proxyModel;
ScraperLineEdit *filterEdit;
QString selectedVolumeDescription;
};
#endif // SELECT_VOLUME_H