File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ int QgsHistoryEntryGroup::indexOf( QgsHistoryEntryNode *child ) const
90
90
return p.get () == child;
91
91
} );
92
92
if ( it != mChildren .end () )
93
- return std::distance ( mChildren .begin (), it );
93
+ return static_cast < int >( std::distance ( mChildren .begin (), it ) );
94
94
return -1 ;
95
95
}
96
96
@@ -118,5 +118,5 @@ void QgsHistoryEntryGroup::clear()
118
118
119
119
int QgsHistoryEntryGroup::childCount () const
120
120
{
121
- return mChildren .size ();
121
+ return static_cast < int >( mChildren .size () );
122
122
}
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ class GUI_EXPORT QgsHistoryEntryProxyModel : public QSortFilterProxyModel
44
44
QString mFilter ;
45
45
46
46
};
47
+ // /@endcond PRIVATE
47
48
#endif
48
49
49
50
/* *
You can’t perform that action at this time.
0 commit comments