Skip to content

Commit 5c372b0

Browse files
committed
added cast -> explicit required on unix
1 parent 926fc34 commit 5c372b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

AutoUpdaterWidgets/updatepanel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ UpdatePanel::UpdatePanel(UpdateController *controller, QWidget *parent) :
2222

2323
connect(this->ui->checkButton, &QPushButton::clicked,
2424
this, &UpdatePanel::startUpdate);
25-
connect(this->controller, &UpdateController::runningChanged,
25+
connect(this->controller.data(), &UpdateController::runningChanged,
2626
this, &UpdatePanel::changeUpdaterState);
2727
connect(this->controller->getUpdater(), &Updater::checkUpdatesDone,
2828
this, &UpdatePanel::updatesReady);
29-
connect(this->controller, &UpdateController::destroyed,
29+
connect(this->controller.data(), &UpdateController::destroyed,
3030
this, [this](){
3131
this->setDisabled(true);
3232
});

0 commit comments

Comments
 (0)