Commit 5e4e5a4e10eb943c4fff7e2c5081dbcabb8d3586
1 parent
0b81fc42
using different slider signal
Showing
1 changed file
with
1 additions
and
1 deletions
openbr/gui/tail.cpp
| @@ -20,7 +20,7 @@ Tail::Tail(QWidget *parent) | @@ -20,7 +20,7 @@ Tail::Tail(QWidget *parent) | ||
| 20 | layout->addWidget(rhs); | 20 | layout->addWidget(rhs); |
| 21 | setFocusPolicy(Qt::StrongFocus); | 21 | setFocusPolicy(Qt::StrongFocus); |
| 22 | setVisible(false); | 22 | setVisible(false); |
| 23 | - connect(slider, SIGNAL(sliderMoved(int)), this, SLOT(setIndex(int))); | 23 | + connect(slider, SIGNAL(valueChanged(int)), this, SLOT(setIndex(int))); |
| 24 | connect(&compareWatcher, SIGNAL(finished()), this, SLOT(compareDone())); | 24 | connect(&compareWatcher, SIGNAL(finished()), this, SLOT(compareDone())); |
| 25 | } | 25 | } |
| 26 | 26 |