Skip to content
Permalink
Browse files

fix builds on trusty and precise

  • Loading branch information
jef-n committed Nov 11, 2016
1 parent a4c7d97 commit 4c6be3a7ececb63cf121bb783f5ff528c086110d
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/qgsfiledownloader.cpp
@@ -95,7 +95,7 @@ void QgsFileDownloader::onSslErrors( QNetworkReply *reply, const QList<QSslError
Q_UNUSED( reply );
QStringList errorMessages;
errorMessages << "SSL Errors: ";
for ( auto end = errors.size(), i = 0; i != end; ++i )
for ( int end = errors.size(), i = 0; i != end; ++i )
{
errorMessages << errors[i].errorString();
}
@@ -106,7 +106,7 @@ void QgsFileDownloader::onSslErrors( QNetworkReply *reply, const QList<QSslError

void QgsFileDownloader::error( QStringList errorMessages )
{
for ( auto end = errorMessages.size(), i = 0; i != end; ++i )
for ( int end = errorMessages.size(), i = 0; i != end; ++i )
{
mErrors.append( errorMessages[i] );
}

0 comments on commit 4c6be3a

Please sign in to comment.
You can’t perform that action at this time.