D12298: Group completion requests and only handle the last one
noreply at phabricator.kde.org
Wed Apr 18 11:09:20 UTC 2018
mwolff added a comment.
ok let's see
> brauch wrote in model.cpp:90
> Can you not use QMetaObject::invokeMethod(this, &ClangCodeCompletionWorker::run, Qt::QueuedConnection) instead of this timer? (The function pointer syntax is Qt 5.10+ though I think)
yes, but as you say it's 5.10 - this code here is fine and a bit better than using QTimer::singleShot since that would recreate the timer continously
To: mwolff, #kdevelop
Cc: brauch, kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KDevelop-devel