summaryrefslogtreecommitdiff
path: root/src/samplesorter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/samplesorter.cc')
-rw-r--r--src/samplesorter.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/samplesorter.cc b/src/samplesorter.cc
index 6158bfa..91bc6b4 100644
--- a/src/samplesorter.cc
+++ b/src/samplesorter.cc
@@ -36,9 +36,10 @@
#define MAXFLOAT (3.40282347e+38F)
#endif
-SampleSorter::SampleSorter(Selections& s, Selections& p)
+SampleSorter::SampleSorter(Selections& s, Selections& p, Instrument& instrument)
: selections(s)
, selections_preview(p)
+ , instrument(instrument)
{
setMouseTracking(true);