Progress: Fix broken signal connection

This commit is contained in:
Olivier Goffart 2015-04-27 12:34:15 +02:00
parent be1b39067d
commit 04382c467b
2 changed files with 4 additions and 4 deletions

View file

@ -126,8 +126,8 @@ AccountSettings::AccountSettings(AccountState *accountState, QWidget *parent) :
this, SLOT(slotUpdateQuota(qint64,qint64))); this, SLOT(slotUpdateQuota(qint64,qint64)));
slotUpdateQuota(quotaInfo->lastQuotaTotalBytes(), quotaInfo->lastQuotaUsedBytes()); slotUpdateQuota(quotaInfo->lastQuotaTotalBytes(), quotaInfo->lastQuotaUsedBytes());
connect( ProgressDispatcher::instance(), SIGNAL(progressInfo(QString, Progress::Info)), connect( ProgressDispatcher::instance(), SIGNAL(progressInfo(QString, ProgressInfo)),
this, SLOT(slotSetProgress(QString, Progress::Info)) ); this, SLOT(slotSetProgress(QString, ProgressInfo)) );
} }

View file

@ -89,8 +89,8 @@ SettingsDialogMac::SettingsDialogMac(ownCloudGui *gui, QWidget *parent)
connect( _accountSettings, SIGNAL(openFolderAlias(const QString&)), connect( _accountSettings, SIGNAL(openFolderAlias(const QString&)),
gui, SLOT(slotFolderOpenAction(QString))); gui, SLOT(slotFolderOpenAction(QString)));
connect( ProgressDispatcher::instance(), SIGNAL(progressInfo(QString, Progress::Info)), connect( ProgressDispatcher::instance(), SIGNAL(progressInfo(QString, ProgressInfo)),
_accountSettings, SLOT(slotSetProgress(QString, Progress::Info)) ); _accountSettings, SLOT(slotSetProgress(QString, ProgressInfo)) );
QAction *showLogWindow = new QAction(this); QAction *showLogWindow = new QAction(this);
showLogWindow->setShortcut(QKeySequence("F12")); showLogWindow->setShortcut(QKeySequence("F12"));