Skip to content
Permalink
Browse files

Fix compilation errors for grass provider

  • Loading branch information
timlinux committed Mar 24, 2013
1 parent 3e45396 commit 34ec0000a8e3ad20ee37cb4dc097bf96d57a0a7e
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/providers/grass/qgsgrassfeatureiterator.cpp
@@ -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"
{
@@ -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;

0 comments on commit 34ec000

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