forked from qt-creator/qt-creator
C++: prevent cloning the QTextDocument on the UI thread.
Now the document contents (the text) is passed to the background thread, which in turn will recreate the text document. Change-Id: I7af47348fe162b53b8b440f1561a9919bf3c381a Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
committed by
Erik Verbruggen
parent
53e8e0fb7b
commit
ff6e100824
@@ -60,6 +60,7 @@ void ProcessorRunner::setProcessor(IAssistProcessor *computer)
|
||||
|
||||
void ProcessorRunner::run()
|
||||
{
|
||||
m_interface->recreateTextDocument();
|
||||
m_proposal = m_processor->perform(m_interface);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user