[vlmc-devel] YoutubeService: Don't declare slots within ifdef scope

Hugo Beauzée-Luyssen git at videolan.org
Tue Aug 2 01:00:37 CEST 2016


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Aug  2 00:26:35 2016 +0200| [78011bebac30256034cf37301d9276bec376dc96] | committer: Hugo Beauzée-Luyssen

YoutubeService: Don't declare slots within ifdef scope

> https://code.videolan.org/videolan/vlmc/commit/78011bebac30256034cf37301d9276bec376dc96
---

 src/Services/YouTube/YouTubeService.cpp | 2 --
 src/Services/YouTube/YouTubeService.h   | 2 --
 2 files changed, 4 deletions(-)

diff --git a/src/Services/YouTube/YouTubeService.cpp b/src/Services/YouTube/YouTubeService.cpp
index 9e69f5c..a5aa61e 100644
--- a/src/Services/YouTube/YouTubeService.cpp
+++ b/src/Services/YouTube/YouTubeService.cpp
@@ -233,7 +233,6 @@ YouTubeService::networkError( QNetworkReply::NetworkError e )
     reply->deleteLater();
 }
 
-#ifndef QT_NO_OPENSSL
 void
 YouTubeService::sslErrors( QNetworkReply* reply, const QList<QSslError> &errors )
 {
@@ -256,4 +255,3 @@ YouTubeService::sslErrors( QNetworkReply* reply, const QList<QSslError> &errors
         reply->ignoreSslErrors();
     }
 }
-#endif
diff --git a/src/Services/YouTube/YouTubeService.h b/src/Services/YouTube/YouTubeService.h
index fce7650..78df965 100644
--- a/src/Services/YouTube/YouTubeService.h
+++ b/src/Services/YouTube/YouTubeService.h
@@ -81,9 +81,7 @@ class YouTubeService : public AbstractSharingService
     private slots:
         void authError( QString );
         void networkError( QNetworkReply::NetworkError );
-        #ifndef QT_NO_OPENSSL
         void sslErrors( QNetworkReply*, const QList<QSslError> &errors );
-        #endif
 };
 
 #endif // YOUTUBESERVICE_H



More information about the Vlmc-devel mailing list