Commit 2e1d71f5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

port to qvector here too

parent 143008fa
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <Libkleo/Enum> #include <Libkleo/Enum>
#include <QGpgME/Protocol> #include <QGpgME/Protocol>
#include <QGpgME/SignJob> #include <QGpgME/SignJob>
#include <QVector>
#include "messagecomposer_debug.h" #include "messagecomposer_debug.h"
#include <kmime/kmime_headers.h> #include <kmime/kmime_headers.h>
...@@ -170,9 +171,9 @@ void SignJob::process() ...@@ -170,9 +171,9 @@ void SignJob::process()
&& !d->content->contentType(false)) { && !d->content->contentType(false)) {
QByteArray body = d->content->encodedBody(); QByteArray body = d->content->encodedBody();
bool changed = false; bool changed = false;
QList<QByteArray> search; QVector<QByteArray> search;
search.reserve(3); search.reserve(3);
QList<QByteArray> replacements; QVector<QByteArray> replacements;
replacements.reserve(3); replacements.reserve(3);
search << "From " search << "From "
<< "from " << "from "
......
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