Commit 47a8c6aa authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Remove unused code

GnuPG-bug-id: 5969
parent 328e4ac1
......@@ -450,24 +450,4 @@ QDir NewCertificateWizard::tmpDir() const
return QDir(d->tmp.path());
}
namespace
{
template <typename T = QString>
struct Row {
QString key;
T value;
Row(const QString &k, const T &v) : key(k), value(v) {}
};
template <typename T>
QTextStream &operator<<(QTextStream &s, const Row<T> &row)
{
if (row.key.isEmpty()) {
return s;
} else {
return s << "<tr><td>" << row.key << "</td><td>" << row.value << "</td></tr>";
}
}
}
#include "newcertificatewizard.moc"
Supports Markdown
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