Skip to content
Permalink
Browse files

fix link error on windows

(cherry picked from commit 22034aa)
  • Loading branch information
jef-n committed Nov 25, 2018
1 parent 697e704 commit 4c3e43bd21726b5b74369bd0ec73d5b27c2ba592
Showing with 3 additions and 1 deletion.
  1. +2 −0 src/app/qgsdatumtransformtablewidget.cpp
  2. +1 −1 src/app/qgsdatumtransformtablewidget.h
@@ -181,6 +181,8 @@ QgsDatumTransformTableWidget::QgsDatumTransformTableWidget( QWidget *parent )
{
setupUi( this );

mModel = new QgsDatumTransformTableModel( this );

mTableView->setModel( mModel );
mTableView->resizeColumnToContents( 0 );
mTableView->horizontalHeader()->setSectionResizeMode( QHeaderView::ResizeToContents );
@@ -97,7 +97,7 @@ class APP_EXPORT QgsDatumTransformTableWidget : public QWidget, private Ui::QgsD
void editDatumTransform();

private:
QgsDatumTransformTableModel *mModel = new QgsDatumTransformTableModel( this );
QgsDatumTransformTableModel *mModel = nullptr;
};


0 comments on commit 4c3e43b

Please sign in to comment.
You can’t perform that action at this time.