lock SignalVector with shared_lock to allow reading on other threads

This commit is contained in:
fourtf
2019-07-31 22:29:07 +02:00
parent 4e4c7d4c0b
commit fff979b3c0
12 changed files with 120 additions and 35 deletions
+1 -1
View File
@@ -163,7 +163,7 @@ void CompletionModel::refresh(const QString &prefix)
}
// Commands
for (auto &command : getApp()->commands->items_.getVector())
for (auto &command : getApp()->commands->items_)
{
addString(command.name, TaggedString::Command);
}