| 11 | #include "common/SettingsInterface.h" |
| 12 | |
| 13 | CoverDownloadDialog::CoverDownloadDialog(QWidget* parent /*= nullptr*/) |
| 14 | : QDialog(parent) |
| 15 | { |
| 16 | m_ui.setupUi(this); |
| 17 | QtUtils::SetScalableIcon(m_ui.coverIcon, QIcon::fromTheme(QStringLiteral("artboard-2-line")), QSize(32, 32)); |
| 18 | updateEnabled(); |
| 19 | |
| 20 | connect(m_ui.start, &QPushButton::clicked, this, &CoverDownloadDialog::onStartClicked); |
| 21 | connect(m_ui.close, &QPushButton::clicked, this, &CoverDownloadDialog::onCloseClicked); |
| 22 | connect(m_ui.urls, &QTextEdit::textChanged, this, &CoverDownloadDialog::updateEnabled); |
| 23 | |
| 24 | loadCoverURLs(); |
| 25 | } |
| 26 | |
| 27 | CoverDownloadDialog::~CoverDownloadDialog() |
| 28 | { |
nothing calls this directly
no test coverage detected