Commit 2fba1b05 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Qt4: use addCallback

parent 0166bb73
......@@ -50,17 +50,15 @@ DialogHandler::DialogHandler (intf_thread_t *p_intf, QObject *_parent)
connect (this, SIGNAL(error(const QString &, const QString &)),
SLOT(displayError(const QString &, const QString &)));
connect (&critical, SIGNAL(pointerChanged(void *)),
SLOT(displayCritical(void *)),
critical.addCallback(this, SLOT(displayCritical(void *)),
Qt::BlockingQueuedConnection);
connect (&login, SIGNAL(pointerChanged(void *)),
SLOT(requestLogin(void *)),
login.addCallback(this, SLOT(requestLogin(void *)),
Qt::BlockingQueuedConnection);
connect (&question, SIGNAL(pointerChanged(void *)),
SLOT(requestAnswer(void *)),
question.addCallback(this, SLOT(requestAnswer(void *)),
Qt::BlockingQueuedConnection);
connect (&progressBar, SIGNAL(pointerChanged(void *)),
SLOT(startProgressBar(void *)),
question.addCallback(this, SLOT(requestAnswer(void *)),
Qt::BlockingQueuedConnection);
progressBar.addCallback(this, SLOT(startProgressBar(void *)),
Qt::BlockingQueuedConnection);
connect (this,
SIGNAL(progressBarDestroyed(QWidget *)),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment