[vlmc-devel] commit: Fixing typos and trailing whitespaces. ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Tue Nov 16 11:08:57 CET 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Tue Nov 16 11:22:07 2010 +0100| [b34802efbb452a009014f6466457cd1060b124fb] | committer: Hugo Beauzée-Luyssen 

Fixing typos and trailing whitespaces.

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=b34802efbb452a009014f6466457cd1060b124fb
---

 src/Gui/MainWindow.cpp                  |    2 +-
 src/Services/YouTube/YouTubeService.cpp |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp
index de911de..9164964 100644
--- a/src/Gui/MainWindow.cpp
+++ b/src/Gui/MainWindow.cpp
@@ -297,7 +297,7 @@ MainWindow::initVlmcPreferences()
 
     VLMC_CREATE_PREFERENCE_PASSWORD( "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
     VLMC_CREATE_PREFERENCE_BOOL( "network/UseProxy", false,
diff --git a/src/Services/YouTube/YouTubeService.cpp b/src/Services/YouTube/YouTubeService.cpp
index 89d7350..4a4326f 100644
--- a/src/Services/YouTube/YouTubeService.cpp
+++ b/src/Services/YouTube/YouTubeService.cpp
@@ -36,7 +36,7 @@
 using namespace YouTube;
 
 YouTubeService::YouTubeService( const QString& devKey,
-                                const QString& username, 
+                                const QString& username,
                                 const QString& password )
 {
     /* Stores Credentials */
@@ -173,7 +173,7 @@ YouTubeService::networkError( QNetworkReply::NetworkError e )
     {
         case QNetworkReply::ConnectionRefusedError:
         case QNetworkReply::RemoteHostClosedError:
-        case QNetworkReply::HostNotFoundError: 
+        case QNetworkReply::HostNotFoundError:
         case QNetworkReply::TimeoutError:
             errString = "Network Connection Error";
             m_error = NetworkError; break;
@@ -223,7 +223,7 @@ YouTubeService::networkError( QNetworkReply::NetworkError e )
 
     if( m_state == UploadStart )
     {
-        disconnect( reply, SIGNAL( finished() ), 
+        disconnect( reply, SIGNAL( finished() ),
                     m_uploader, SLOT( uploadFinished() ) );
         disconnect( reply, SIGNAL( uploadProgress( qint64, qint64 ) ),
                     m_uploader, SIGNAL( uploadProgress( qint64, qint64 ) ) );
@@ -250,7 +250,7 @@ YouTubeService::sslErrors( QNetworkReply* reply, const QList<QSslError> &errors
     /* Prompt for insecure connection */
     if ( QMessageBox::warning(NULL, tr("YouTube Authentication"),
                              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 )
     {
         reply->ignoreSslErrors();



More information about the Vlmc-devel mailing list