Fix compilation with -DQT_NO_CAST_TO_ASCII

This commit is contained in:
David Faure 2016-05-13 09:25:43 +02:00
parent 3af050b8ba
commit 218278511c

View File

@ -4247,7 +4247,7 @@ int main(int argc, char **argv)
// detached signature?
if(plain.startsWith("-----BEGIN PGP SIGNATURE-----"))
{
QString footer = "-----END PGP SIGNATURE-----\n";
const QByteArray footer = "-----END PGP SIGNATURE-----\n";
int n = plain.indexOf(footer);
if(n == -1)
{