Commit 844f0e41 authored by Simon Depiets's avatar Simon Depiets
Browse files

Revert "Cleanup warnings"

This reverts commit 3ad46357.
parent 3f781ea9
......@@ -166,7 +166,7 @@ void GlossaryView::slotNewEntryDisplayed(DocPosition pos)
bool found = false;
foreach (const QByteArray& termId, QSet<QByteArray>(termIds.begin(), termIds.end())) {
foreach (const QByteArray& termId, termIds.toSet()) {
// 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.loadRelaxed()) {
while (!loaded.load()) {
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