Commit b34802ef authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Fixing typos and trailing whitespaces.

parent 6c8c66bb
...@@ -297,7 +297,7 @@ MainWindow::initVlmcPreferences() ...@@ -297,7 +297,7 @@ MainWindow::initVlmcPreferences()
VLMC_CREATE_PREFERENCE_PASSWORD( "youtube/Password", "", VLMC_CREATE_PREFERENCE_PASSWORD( "youtube/Password", "",
QT_TRANSLATE_NOOP( "PreferenceWidget", "Youtube Password" ), QT_TRANSLATE_NOOP( "PreferenceWidget", "Youtube Password" ),
QT_TRANSLATE_NOOP( "PreferenceWidget", "Leave this field, password will be stored in unencryped form." ) ); QT_TRANSLATE_NOOP( "PreferenceWidget", "Leave this field empty, password will be stored in unencrypted form." ) );
//Setup VLMC Proxy Settings //Setup VLMC Proxy Settings
VLMC_CREATE_PREFERENCE_BOOL( "network/UseProxy", false, VLMC_CREATE_PREFERENCE_BOOL( "network/UseProxy", false,
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
using namespace YouTube; using namespace YouTube;
YouTubeService::YouTubeService( const QString& devKey, YouTubeService::YouTubeService( const QString& devKey,
const QString& username, const QString& username,
const QString& password ) const QString& password )
{ {
/* Stores Credentials */ /* Stores Credentials */
...@@ -173,7 +173,7 @@ YouTubeService::networkError( QNetworkReply::NetworkError e ) ...@@ -173,7 +173,7 @@ YouTubeService::networkError( QNetworkReply::NetworkError e )
{ {
case QNetworkReply::ConnectionRefusedError: case QNetworkReply::ConnectionRefusedError:
case QNetworkReply::RemoteHostClosedError: case QNetworkReply::RemoteHostClosedError:
case QNetworkReply::HostNotFoundError: case QNetworkReply::HostNotFoundError:
case QNetworkReply::TimeoutError: case QNetworkReply::TimeoutError:
errString = "Network Connection Error"; errString = "Network Connection Error";
m_error = NetworkError; break; m_error = NetworkError; break;
...@@ -223,7 +223,7 @@ YouTubeService::networkError( QNetworkReply::NetworkError e ) ...@@ -223,7 +223,7 @@ YouTubeService::networkError( QNetworkReply::NetworkError e )
if( m_state == UploadStart ) if( m_state == UploadStart )
{ {
disconnect( reply, SIGNAL( finished() ), disconnect( reply, SIGNAL( finished() ),
m_uploader, SLOT( uploadFinished() ) ); m_uploader, SLOT( uploadFinished() ) );
disconnect( reply, SIGNAL( uploadProgress( qint64, qint64 ) ), disconnect( reply, SIGNAL( uploadProgress( qint64, qint64 ) ),
m_uploader, SIGNAL( uploadProgress( qint64, qint64 ) ) ); m_uploader, SIGNAL( uploadProgress( qint64, qint64 ) ) );
...@@ -250,7 +250,7 @@ YouTubeService::sslErrors( QNetworkReply* reply, const QList<QSslError> &errors ...@@ -250,7 +250,7 @@ YouTubeService::sslErrors( QNetworkReply* reply, const QList<QSslError> &errors
/* Prompt for insecure connection */ /* Prompt for insecure connection */
if ( QMessageBox::warning(NULL, tr("YouTube Authentication"), if ( QMessageBox::warning(NULL, tr("YouTube Authentication"),
tr("Connection may be insecure, do you want to continue?" tr("Connection may be insecure, do you want to continue?"
"One or more SSL errors has occurred: %1").arg(errorString), " One or more SSL errors has occurred: %1").arg(errorString),
QMessageBox::Ignore | QMessageBox::Abort) == QMessageBox::Ignore ) QMessageBox::Ignore | QMessageBox::Abort) == QMessageBox::Ignore )
{ {
reply->ignoreSslErrors(); reply->ignoreSslErrors();
......
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