Commit c5c3d8d0 authored by Simon Depiets's avatar Simon Depiets
Browse files

Revert "Revert "Cleanup warnings""

This reverts commit 844f0e41.
parent 844f0e41
......@@ -166,7 +166,7 @@ void GlossaryView::slotNewEntryDisplayed(DocPosition pos)
bool found = false;
foreach (const QByteArray& termId, termIds.toSet()) {
foreach (const QByteArray& termId, QSet<QByteArray>(termIds.begin(), termIds.end())) {
// now check which of them are really hits...
foreach (const QString& enTerm, glossary.terms(termId, sourceLangCode)) {
// ...and if so, which part of termEn list we must thank for match ...
......@@ -87,7 +87,7 @@ void ProjectModelTest::testHalfTranslated()
model->setUrl(QUrl::fromLocalFile(QFINDTESTDATA("data/dir-halftranslated")), {});
// Wait for signal
while (!loaded.load()) {
while (!loaded.loadRelaxed()) {
Markdown is supported
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