diff --git a/swisssurfer/src/main.cxx b/swisssurfer/src/main.cxx index 598b1dd..5746950 100644 --- a/swisssurfer/src/main.cxx +++ b/swisssurfer/src/main.cxx @@ -289,7 +289,7 @@ int main(int argv, char** argc) try { } else if ((*it=="-c" || *it=="--cert") && ++it!=args.end()) { QFile file(*it); file.open(QIODevice::ReadOnly); - QSslCertificate::QSslCertificate c(&file); + QSslCertificate c(&file); if (c.isNull()) { std::cerr<