Commit 86ee43bd authored by Laurent Montel's avatar Laurent Montel 😁

Remove deprecated method

parent 76f9517f
......@@ -65,6 +65,7 @@ if (Qt5Designer_FOUND)
endif()
add_definitions( -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT )
remove_definitions( -DQT_NO_CAST_FROM_BYTEARRAY )
#add_definitions( -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 )
########### CMake Config Files ###########
set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5Libkdepim")
......
......@@ -413,7 +413,7 @@ const QStringList KPIM::AddresseeLineEditPrivate::adjustedCompletionItems(bool f
sourcesAndWeights.append(sww);
}
qSort(sourcesAndWeights.begin(), sourcesAndWeights.end());
std::sort(sourcesAndWeights.begin(), sourcesAndWeights.end());
// Add the sections and their items to the final sortedItems result list
const int numberOfSources(sourcesAndWeights.size());
for (int i = 0; i < numberOfSources; ++i) {
......
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