MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / CoverDownloadDialog

Method CoverDownloadDialog

pcsx2-qt/CoverDownloadDialog.cpp:13–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11#include "common/SettingsInterface.h"
12
13CoverDownloadDialog::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
27CoverDownloadDialog::~CoverDownloadDialog()
28{

Callers

nothing calls this directly

Calls 2

SetScalableIconFunction · 0.85
setupUiMethod · 0.45

Tested by

no test coverage detected