Fix coverity uninitialized member warnings

This commit is contained in:
Nyall Dawson 2016-05-04 19:37:03 +10:00
parent d8dc02d7e7
commit 99e5352d00
3 changed files with 3 additions and 0 deletions

View File

@ -235,6 +235,7 @@ QString QgsAttributeActionDialog::textForType( QgsAction::ActionType type )
case QgsAction::OpenUrl:
return tr( "Open URL" );
}
return QString();
}
void QgsAttributeActionDialog::remove()

View File

@ -18,6 +18,7 @@
#include <QStringList>
QgsAttributeTableConfig::QgsAttributeTableConfig()
: mActionWidgetStyle( DropDown )
{
}

View File

@ -43,6 +43,7 @@ QgsAttributeTableView::QgsAttributeTableView( QWidget *parent )
, mActionPopup( nullptr )
, mRowSectionAnchor( 0 )
, mCtrlDragSelectionFlag( QItemSelectionModel::Select )
, mActionWidget( nullptr )
{
QSettings settings;
restoreGeometry( settings.value( "/BetterAttributeTable/geometry" ).toByteArray() );