Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 1, 2016
1 parent fb49f70 commit 9fb1d4f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/providers/mssql/qgsmssqlprovider.cpp
Expand Up @@ -2153,8 +2153,10 @@ QGISEXTERN QString loadStyle( const QString& uri, QString& errCause )

if ( !query.exec( selectQmlQuery ) )
{
QgsDebugMsg( query.lastError().text() );
QgsDebugMsg("Load of Style failed");
QgsDebugMsg("Load of style failed");
QString msg = query.lastError().text();
errCause = msg;
QgsDebugMsg( msg );
return QString();
}
if ( query.isActive() && query.next())
Expand Down

0 comments on commit 9fb1d4f

Please sign in to comment.