Commit c6e8b92d authored by Ivan Ilyin's avatar Ivan Ilyin

Some warnings disabled

parent 0bed9fad
...@@ -150,6 +150,7 @@ void UBFeaturesActionBar::setButtons() ...@@ -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());
} }
...@@ -196,4 +197,4 @@ void UBFeaturesActionBar::dropEvent( QDropEvent *event ) ...@@ -196,4 +197,4 @@ void UBFeaturesActionBar::dropEvent( QDropEvent *event )
UBFeaturesActionBar::~UBFeaturesActionBar() UBFeaturesActionBar::~UBFeaturesActionBar()
{ {
} }
\ No newline at end of file
...@@ -546,6 +546,7 @@ bool UBFeaturesModel::dropMimeData(const QMimeData *mimeData, Qt::DropAction act ...@@ -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>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment