/***************************************************************************
- * Copyright (C) 2005-2018 by the Quassel Project *
+ * Copyright (C) 2005-2019 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
#include "bufferviewsettingspage.h"
+#include <algorithm>
#include <utility>
#include <QMessageBox>
}
else {
bufferIds = Client::networkModel()->allBufferIds();
- qSort(bufferIds);
+ std::sort(bufferIds.begin(), bufferIds.end());
config->setProperty("OriginalBufferList", toVariantList<BufferId>(bufferIds));
}
}