Skip to content
Permalink
Browse files
fix warnings`
  • Loading branch information
alexbruy committed Apr 8, 2017
1 parent e9bd373 commit 4a4b3184efa0e1e505492bda9012a54a9a1896aa
Showing with 4 additions and 4 deletions.
  1. +2 −2 src/gui/qgscheckablecombobox.cpp
  2. +2 −2 src/gui/qgscheckablecombobox.h
@@ -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:

0 comments on commit 4a4b318

Please sign in to comment.