~ubuntu-branches/ubuntu/trusty/muse/trusty

« back to all changes in this revision

Viewing changes to muse/waveedit/editgain.cpp

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2013-08-28 16:25:57 UTC
  • mfrom: (1.1.16)
  • Revision ID: package-import@ubuntu.com-20130828162557-27ulrksfvm64td50
Tags: 2.1.2-1
* New upstream bugfix release.
* Refresh patches.
* Fix doc links.

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
 */
95
95
void EditGain::gainChanged(int value)
96
96
      {
97
 
      gain = sliderGain->maximum() - value;
 
97
      gain = value;
98
98
      if (sliderGain->value() != 100) {
99
99
            buttonReset->setEnabled(true);
100
100
            buttonApply->setEnabled(true);