Skip to content

Commit 34ec000

Browse files
committedMar 24, 2013
Fix compilation errors for grass provider
1 parent 3e45396 commit 34ec000

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎src/providers/grass/qgsgrassfeatureiterator.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@
1212
* (at your option) any later version. *
1313
* *
1414
***************************************************************************/
15+
16+
#include <QObject>
17+
1518
#include "qgsgrassfeatureiterator.h"
1619
#include "qgsgrassprovider.h"
1720

1821
#include "qgsapplication.h"
1922
#include "qgslogger.h"
23+
#include "qgsmessagelog.h"
2024

2125
extern "C"
2226
{
@@ -38,7 +42,7 @@ QgsGrassFeatureIterator::QgsGrassFeatureIterator( QgsGrassProvider* p, const Qgs
3842
// make sure that only one iterator is active
3943
if ( P->mActiveIterator )
4044
{
41-
QgsMessageLog::logMessage( tr( "Already active iterator on this provider was closed." ), tr( "GRASS" ) );
45+
QgsMessageLog::logMessage( QObject::tr( "Already active iterator on this provider was closed." ), QObject::tr( "GRASS" ) );
4246
P->mActiveIterator->close();
4347
}
4448
P->mActiveIterator = this;

0 commit comments

Comments
 (0)
Please sign in to comment.