Skip to content
Permalink
Browse files

fix builds on trusty and precise

  • Loading branch information
jef-n committed Nov 11, 2016
1 parent f273e85 commit 2eec236fc4354b1377c1fa3d756ee7453620a246
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 2eec236

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