Skip to content
Permalink
Browse files

Fix compiling w/ WITH_QTWEBKIT=OFF

  • Loading branch information
m-kuhn committed Jul 15, 2015
1 parent 705b51c commit 7df14020e750489e65c2463f52303dfa31257843
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/qgisapp.cpp
@@ -5836,12 +5836,14 @@ bool QgisApp::loadAnnotationItemsFromProject( const QDomDocument& doc )
newFormItem->readXML( doc, formItemList.at( i ).toElement() );
}

#ifdef WITH_QTWEBKIT
QDomNodeList htmlItemList = doc.elementsByTagName( "HtmlAnnotationItem" );
for ( int i = 0; i < htmlItemList.size(); ++i )
{
QgsHtmlAnnotationItem* newHtmlItem = new QgsHtmlAnnotationItem( mMapCanvas );
newHtmlItem->readXML( doc, htmlItemList.at( i ).toElement() );
}
#endif

QDomNodeList svgItemList = doc.elementsByTagName( "SVGAnnotationItem" );
for ( int i = 0; i < svgItemList.size(); ++i )

0 comments on commit 7df1402

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