Commit 5b747f16 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Port away from deprecated QAtomicInteger::load()

parent 09c9384e
......@@ -53,7 +53,7 @@ void ProjectModelTest::testInvalid()
model->setUrl(QUrl::fromLocalFile(QFINDTESTDATA("data/dir-invalid")), {});
// Wait for signal
while (!loaded.load()) {
while (!loaded.loadRelaxed()) {
QCoreApplication::processEvents();
}
......
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