Fix build with Qt 5.5

This commit is contained in:
Matthias Kuhn 2017-09-06 10:46:22 +02:00
parent b3c15900c1
commit ee75d8cd14
No known key found for this signature in database
GPG Key ID: A0E766808764D73F

View File

@ -169,7 +169,7 @@ void QgsDualView::columnBoxInit()
connect( sortByPreviewExpression, &QAction::triggered, this, &QgsDualView::sortByPreviewExpression );
mFeatureListPreviewButton->addAction( sortByPreviewExpression );
QAction *separator = new QAction();
QAction *separator = new QAction( mFeatureListPreviewButton );
separator->setSeparator( true );
mFeatureListPreviewButton->addAction( separator );
restoreRecentDisplayExpressions();