Skip to content

Commit

Permalink
fix signal slot connection
Browse files Browse the repository at this point in the history
  • Loading branch information
ogoffart committed Jan 28, 2014
1 parent e31000d commit 803cb5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mirall/generalsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ void GeneralSettings::slotUpdateInfo()
{
if (OCUpdater *updater = dynamic_cast<OCUpdater*>(Updater::instance()))
{
connect(updater, SIGNAL(stateChanged()), SLOT(slotUpdateInfo()), Qt::UniqueConnection);
connect(updater, SIGNAL(downloadStateChanged()), SLOT(slotUpdateInfo()), Qt::UniqueConnection);
connect(_ui->restartButton, SIGNAL(clicked()), updater, SLOT(slotStartInstaller()), Qt::UniqueConnection);
_ui->updateStateLabel->setText(updater->statusString());
_ui->restartButton->setVisible(updater->downloadState() == OCUpdater::DownloadComplete);
Expand Down

0 comments on commit 803cb5d

Please sign in to comment.