Skip to content

Commit

Permalink
Fix compilation errors for grass provider
Browse files Browse the repository at this point in the history
  • Loading branch information
timlinux committed Mar 24, 2013
1 parent 3e45396 commit 34ec000
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/providers/grass/qgsgrassfeatureiterator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,15 @@
* (at your option) any later version. *
* *
***************************************************************************/

#include <QObject>

#include "qgsgrassfeatureiterator.h"
#include "qgsgrassprovider.h"

#include "qgsapplication.h"
#include "qgslogger.h"
#include "qgsmessagelog.h"

extern "C"
{
Expand All @@ -38,7 +42,7 @@ QgsGrassFeatureIterator::QgsGrassFeatureIterator( QgsGrassProvider* p, const Qgs
// make sure that only one iterator is active
if ( P->mActiveIterator )
{
QgsMessageLog::logMessage( tr( "Already active iterator on this provider was closed." ), tr( "GRASS" ) );
QgsMessageLog::logMessage( QObject::tr( "Already active iterator on this provider was closed." ), QObject::tr( "GRASS" ) );
P->mActiveIterator->close();
}
P->mActiveIterator = this;
Expand Down

0 comments on commit 34ec000

Please sign in to comment.