@ -150,6 +150,7 @@ void UBFeaturesActionBar::setButtons()
void UBFeaturesActionBar::onSearchTextChanged(QString txt)
{
Q_UNUSED(txt)
emit searchElement(mSearchBar->text());
}
@ -196,4 +197,4 @@ void UBFeaturesActionBar::dropEvent( QDropEvent *event )
UBFeaturesActionBar::~UBFeaturesActionBar()
@ -546,6 +546,7 @@ bool UBFeaturesModel::dropMimeData(const QMimeData *mimeData, Qt::DropAction act
else
endRow = parent.row();
Q_UNUSED(endRow) //why do we need this variable?
UBFeature parentFeature = parent.data( Qt::UserRole + 1).value<UBFeature>();