Skip to content

Commit dd0cce2

Browse files
committedJan 9, 2018
Removed some TODOs
1 parent 680b9f8 commit dd0cce2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
 

‎src/core/layout/qgscompositionconverter.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ QList<QgsLayoutItem *> QgsCompositionConverter::addItemsFromCompositionXml( QgsL
216216
// known multi-frame types
217217
LayoutHtml, //!< Html multiframe item
218218
LayoutAttributeTable, //!< Attribute table
219-
LayoutTextTable, //!< Preset text table
219+
LayoutTextTable, //!< Preset text table IGNORE!
220220
*/
221221

222222
// Label
@@ -249,7 +249,7 @@ QList<QgsLayoutItem *> QgsCompositionConverter::addItemsFromCompositionXml( QgsL
249249
newItems << layoutItem ;
250250
}
251251

252-
// Polygon TODO:frames and background are ignored: is that ok?
252+
// Polygon
253253
for ( int i = 0; i < parentElement.elementsByTagName( QStringLiteral( "ComposerPolygon" ) ).size(); i++ )
254254
{
255255
QDomNode itemNode( parentElement.elementsByTagName( QStringLiteral( "ComposerPolygon" ) ).at( i ) );
@@ -259,7 +259,7 @@ QList<QgsLayoutItem *> QgsCompositionConverter::addItemsFromCompositionXml( QgsL
259259
newItems << layoutItem ;
260260
}
261261

262-
// Polyline TODO:frames and background are ignored: is that ok?
262+
// Polylin
263263
for ( int i = 0; i < parentElement.elementsByTagName( QStringLiteral( "ComposerPolyline" ) ).size(); i++ )
264264
{
265265
QDomNode itemNode( parentElement.elementsByTagName( QStringLiteral( "ComposerPolyline" ) ).at( i ) );
@@ -269,7 +269,7 @@ QList<QgsLayoutItem *> QgsCompositionConverter::addItemsFromCompositionXml( QgsL
269269
newItems << layoutItem ;
270270
}
271271

272-
// Arrow TODO:frames and background are ignored: is that ok?
272+
// Arrow
273273
for ( int i = 0; i < parentElement.elementsByTagName( QStringLiteral( "ComposerArrow" ) ).size(); i++ )
274274
{
275275
QDomNode itemNode( parentElement.elementsByTagName( QStringLiteral( "ComposerArrow" ) ).at( i ) );

‎src/core/layout/qgscompositionconverter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
---------------------
55
begin : 13.12.2017
66
copyright : (C) 2017 by Alessandro Pasotti
7-
email : apasotti at boundlessgeo dot com
7+
email : elpaso at itopen dot it
88
***************************************************************************
99
* *
1010
* This program is free software; you can redistribute it and/or modify *

0 commit comments

Comments
 (0)
Please sign in to comment.