Commit deaec493 authored by Leandro Melo's avatar Leandro Melo Committed by Leandro T. C. Melo
Browse files

Gen. highlihter: Connect before calling setFuture

Change-Id: I767896ea686621a9c22aae299a927d6b86b9abeb

Reviewed-by: default avatarLeandro T. C. Melo <>
parent 2fa1a2fb
......@@ -316,8 +316,8 @@ void Manager::registerMimeTypes()
ManagerProcessor *processor = new ManagerProcessor;
QFuture<QPair<RegisterData, QList<Core::MimeType> > > future =
QtConcurrent::run(&ManagerProcessor::process, processor);
connect(&m_registeringWatcher, SIGNAL(finished()), processor, SLOT(deleteLater()));
tr("Registering definitions"),
Supports Markdown
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