mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
fix warnings`
This commit is contained in:
parent
e9bd373d0c
commit
4a4b3184ef
@ -186,7 +186,7 @@ void QgsCheckableComboBox::showContextMenu( const QPoint &pos )
|
||||
void QgsCheckableComboBox::selectAllOptions()
|
||||
{
|
||||
blockSignals( true );
|
||||
for ( int i; i < count(); i++ )
|
||||
for ( int i = 0; i < count(); i++ )
|
||||
{
|
||||
setItemData( i, Qt::Checked, Qt::CheckStateRole );
|
||||
}
|
||||
@ -197,7 +197,7 @@ void QgsCheckableComboBox::selectAllOptions()
|
||||
void QgsCheckableComboBox::deselectAllOptions()
|
||||
{
|
||||
blockSignals( true );
|
||||
for ( int i; i < count(); i++ )
|
||||
for ( int i = 0; i < count(); i++ )
|
||||
{
|
||||
setItemData( i, Qt::Unchecked, Qt::CheckStateRole );
|
||||
}
|
||||
|
@ -180,7 +180,7 @@ class GUI_EXPORT QgsCheckableComboBox : public QComboBox
|
||||
/** Hides the list of items in the combobox if it is currently
|
||||
* visible and resets the internal state.
|
||||
*/
|
||||
virtual void hidePopup();
|
||||
virtual void hidePopup() override;
|
||||
|
||||
/** Filters events to enable context menu
|
||||
*/
|
||||
@ -204,7 +204,7 @@ class GUI_EXPORT QgsCheckableComboBox : public QComboBox
|
||||
|
||||
/** Handler for widget resizing
|
||||
*/
|
||||
virtual void resizeEvent( QResizeEvent *event );
|
||||
virtual void resizeEvent( QResizeEvent *event ) override;
|
||||
|
||||
protected slots:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user