Unverified Commit a1dbffb8 authored by Rolf Eike Beer's avatar Rolf Eike Beer
Browse files

remove code to migrate KDE 3.5 keyserver list

I think we can savely assume noone expects us to handle this after more than a
decade. Starting from a clean config would be reasonable now.
parent 37fab904
...@@ -341,7 +341,6 @@ QStringList KeyServer::getServerList() ...@@ -341,7 +341,6 @@ QStringList KeyServer::getServerList()
{ {
QStringList serverList(KGpgSettings::keyServers()); // From kgpg config QStringList serverList(KGpgSettings::keyServers()); // From kgpg config
if (!serverList.isEmpty()) { if (!serverList.isEmpty()) {
serverList.replaceInStrings(QRegularExpression(QStringLiteral(" .*")), QString()); // Remove kde 3.5 (Default) tag.
const QString defaultServer(serverList.takeFirst()); const QString defaultServer(serverList.takeFirst());
std::sort(serverList.begin(), serverList.end()); std::sort(serverList.begin(), serverList.end());
serverList.prepend(defaultServer); serverList.prepend(defaultServer);
......
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