Commit 3b04b113 authored by Rohit Yadav's avatar Rohit Yadav

RendererSettings.cpp: Display error message if OpenSSL support is missing.

Some builds may have OpenSSL support turned off, in that case networking may be insecure.
So, warn the user.
parent 4b9f1ba1
......@@ -30,6 +30,7 @@
#include <QFileDialog>
#include <QFileInfo>
#include <QMessageBox>
#include <QSslSocket>
RendererSettings::RendererSettings( bool shareOnInternet )
{
......@@ -58,6 +59,10 @@ RendererSettings::RendererSettings( bool shareOnInternet )
this, SLOT(selectOutputFileName() ) );
connect( m_ui.videoPresetBox, SIGNAL( activated( int ) ),
this, SLOT( updateVideoPreset( int ) ) );
if( !QSslSocket::supportsSsl() )
QMessageBox::information(0, "SSL Error",
"This build has no OpenSSL support, video upload may not work.");
}
void
......
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