Commit 7dd66a85 authored by Laurent Montel's avatar Laurent Montel 😁

Don't use deprecated method

parent ffc71d25
......@@ -109,6 +109,7 @@ configure_file(src/config-enterprise.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/src/con
if ( ACCOUNTWIZARD_NO_GHNS )
add_definitions( -DACCOUNTWIZARD_NO_GHNS )
endif ()
add_definitions( -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 )
......
......@@ -139,7 +139,7 @@ void SetupManager::execute()
// ### FIXME this is a bad over-simplification and would need a real topological sort
// but for current usage it is good enough
qStableSort(m_objectToSetup.begin(), m_objectToSetup.end(), dependencyCompare);
std::stable_sort(m_objectToSetup.begin(), m_objectToSetup.end(), dependencyCompare);
setupNext();
}
......
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