File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -349,8 +349,15 @@ void QgsBookmarks::exportToXml()
349
349
int colCount = mModel ->columnCount ();
350
350
351
351
QList<QString> headerList;
352
- headerList << QStringLiteral ( " id" ) << QStringLiteral ( " name" ) << QStringLiteral ( " project" ) << QStringLiteral ( " xmin" )
353
- << QStringLiteral ( " ymin" ) << QStringLiteral ( " xmax" ) << QStringLiteral ( " ymax" ) << QStringLiteral ( " sr_id" );
352
+ headerList
353
+ << QStringLiteral ( " id" )
354
+ << QStringLiteral ( " name" )
355
+ << QStringLiteral ( " project" )
356
+ << QStringLiteral ( " xmin" )
357
+ << QStringLiteral ( " ymin" )
358
+ << QStringLiteral ( " xmax" )
359
+ << QStringLiteral ( " ymax" )
360
+ << QStringLiteral ( " sr_id" );
354
361
355
362
for ( int i = 0 ; i < rowCount; ++i )
356
363
{
@@ -386,7 +393,6 @@ void QgsBookmarks::exportToXml()
386
393
settings.setValue ( QStringLiteral ( " /Windows/Bookmarks/LastUsedDirectory" ), QFileInfo ( fileName ).path () );
387
394
}
388
395
389
-
390
396
QgsProjectBookmarksTableModel::QgsProjectBookmarksTableModel ()
391
397
{
392
398
QObject::connect (
@@ -404,8 +410,7 @@ int QgsProjectBookmarksTableModel::rowCount( const QModelIndex& parent ) const
404
410
int QgsProjectBookmarksTableModel::columnCount ( const QModelIndex& parent ) const
405
411
{
406
412
Q_UNUSED ( parent );
407
-
408
- return 8 ;
413
+ return 7 ;
409
414
}
410
415
411
416
QVariant QgsProjectBookmarksTableModel::data ( const QModelIndex& index, int role ) const
You can’t perform that action at this time.
0 commit comments