Some warnings disabled

preferencesAboutTextFull
Ivan Ilyin 13 years ago
parent 0bed9fad8e
commit c6e8b92d36
  1. 1
      src/gui/UBFeaturesActionBar.cpp
  2. 1
      src/gui/UBFeaturesWidget.cpp

@ -150,6 +150,7 @@ void UBFeaturesActionBar::setButtons()
void UBFeaturesActionBar::onSearchTextChanged(QString txt) void UBFeaturesActionBar::onSearchTextChanged(QString txt)
{ {
Q_UNUSED(txt)
emit searchElement(mSearchBar->text()); emit searchElement(mSearchBar->text());
} }

@ -546,6 +546,7 @@ bool UBFeaturesModel::dropMimeData(const QMimeData *mimeData, Qt::DropAction act
} }
else else
endRow = parent.row(); endRow = parent.row();
Q_UNUSED(endRow) //why do we need this variable?
UBFeature parentFeature = parent.data( Qt::UserRole + 1).value<UBFeature>(); UBFeature parentFeature = parent.data( Qt::UserRole + 1).value<UBFeature>();

Loading…
Cancel
Save