Pressed -> Clicked (doh)

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad 2023-08-02 20:23:09 +01:00
parent 8705e88e91
commit 40c614b3a5
No known key found for this signature in database
GPG Key ID: 5E39D70B4C93C38E

View File

@ -98,7 +98,7 @@ InstallLoaderDialog::InstallLoaderDialog(std::shared_ptr<PackProfile> profile, c
auto buttonLayout = new QHBoxLayout(this); auto buttonLayout = new QHBoxLayout(this);
auto refreshButton = new QPushButton(tr("&Refresh"), this); auto refreshButton = new QPushButton(tr("&Refresh"), this);
connect(refreshButton, &QPushButton::pressed, this, [this] { pageCast(container->selectedPage())->loadList(); }); connect(refreshButton, &QPushButton::clicked, this, [this] { pageCast(container->selectedPage())->loadList(); });
buttonLayout->addWidget(refreshButton); buttonLayout->addWidget(refreshButton);
buttons->setOrientation(Qt::Horizontal); buttons->setOrientation(Qt::Horizontal);