diff --git a/src/gui/UBFeaturesActionBar.cpp b/src/gui/UBFeaturesActionBar.cpp index 508136c0..e9a560e1 100644 --- a/src/gui/UBFeaturesActionBar.cpp +++ b/src/gui/UBFeaturesActionBar.cpp @@ -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() { -} \ No newline at end of file +} diff --git a/src/gui/UBFeaturesWidget.cpp b/src/gui/UBFeaturesWidget.cpp index 384194b2..e3affd5c 100644 --- a/src/gui/UBFeaturesWidget.cpp +++ b/src/gui/UBFeaturesWidget.cpp @@ -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();