Release 3.0.0

* turn back concurrent text update
* update screenshots
This commit is contained in:
arcan1s
2015-10-21 06:53:34 +03:00
parent c2db8740b8
commit df87850f65
16 changed files with 84 additions and 8 deletions

View File

@ -563,8 +563,17 @@ void AWKeys::reinitKeys()
void AWKeys::updateTextData()
{
#ifdef BUILD_FUTURE
QFuture<QString> text = QtConcurrent::run(m_threadPool, [this]() {
calculateValues();
return parsePattern(m_pattern);
});
#else /* BUILD_FUTURE */
calculateValues();
emit(needTextToBeUpdated(parsePattern(m_pattern)));
QString text = parsePattern(m_pattern);
#endif /* BUILD_FUTURE */
emit(needTextToBeUpdated(text));
emit(dataAggregator->updateData(values));
}