Skip to content

Commit

Permalink
- Fixed Qt4 build. (FTBFS)
Browse files Browse the repository at this point in the history
  • Loading branch information
rncbc committed Mar 30, 2017
1 parent a4d3062 commit 651539e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/drumkv1widget_elements.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,11 @@ drumkv1_ui *drumkv1widget_elements_model::instance (void) const
void drumkv1widget_elements_model::midiInNote ( int note )
{
const QModelIndex& index = drumkv1widget_elements_model::index(note, 0);
#if QT_VERSION >= 0x050100
emit dataChanged(index, index, QVector<int>() << Qt::DecorationRole);
#else
emit dataChanged(index, index);
#endif
}


Expand Down

0 comments on commit 651539e

Please sign in to comment.